1 # Maintainer: Leonardo Miliani <leonardo at leonardomiliani.com>
5 pkgdesc="A RAD environment based on BASIC that compiles native applications for Windows, Mac and Linux."
7 url="http://www.realsoftware.com"
11 install=${pkgname}.install
12 source=(http://realsoftware.cachefly.net/REALStudio${pkgver}/REALStudio${pkgver}.tgz realstudio.desktop)
13 md5sums=('dfad4a33d46a0493f6a73864bdba079b'
14 'e51ad6593c387d991c29a2059b1053c7')
18 chmod 755 -R ${srcdir}/REALStudio${pkgver} || return 1
20 mkdir -p ${pkgdir}/opt/RealStudio-${pkgver} || return 1
21 mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} || return 1
22 mv ${srcdir}/REALStudio${pkgver}/* ${pkgdir}/opt/RealStudio-${pkgver} || return 1
24 install -D -m644 ${pkgdir}/opt/RealStudio-${pkgver}/realstudio.xpm ${pkgdir}/usr/share/pixmaps/realstudio.xpm || return 1
25 install -D -m644 "${pkgdir}/opt/RealStudio-${pkgver}/Documentation/Read Me/License Agreement.txt" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
26 install -D -m644 ${srcdir}/realstudio.desktop ${pkgdir}/usr/share/applications/realstudio.desktop || return 1
28 mkdir -p ${pkgdir}/usr/bin || return 1
29 ln -sf "/opt/RealStudio-${pkgver}/REAL Studio 2010" ${pkgdir}/usr/bin/realstudio || return 1