1 # Maintainer: Ng Oon-Ee <n g o o n e e AT g m a i l DOT c o m>
2 # Contributor: Leonardo Miliani <leonardo at leonardomiliani.com>
6 pkgdesc="A RAD environment based on BASIC that compiles native applications for Windows, Mac and Linux."
8 url="http://www.realsoftware.com"
12 install=${pkgname}.install
13 source=(http://realsoftware.cachefly.net/REALStudio${pkgver}/RealStudio${pkgver}.tgz realstudio.desktop)
14 md5sums=('98a6e405ac7583dbcbcf2da9022bb493'
15 'e51ad6593c387d991c29a2059b1053c7')
17 if [[ $CARCH == i686 ]]; then
24 install -dv -m755 ${pkgdir}/opt/RealStudio-${pkgver}
25 cp -a ${srcdir}/RealStudio${pkgver}/* ${pkgdir}/opt/RealStudio-${pkgver}
27 install -Dv -m644 "${srcdir}/RealStudio${pkgver}/Read Mes/LicenseAgreement.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LicenseAgreement.txt"
29 install -Dv -m644 ${srcdir}/RealStudio${pkgver}/realstudio.xpm ${pkgdir}/usr/share/pixmaps/realstudio.xpm
31 install -Dv -m644 ${srcdir}/realstudio.desktop ${pkgdir}/usr/share/applications/realstudio.desktop
33 install -dv -m755 ${pkgdir}/usr/bin
34 ln -s "/opt/RealStudio-${pkgver}/Real Studio 2011" ${pkgdir}/usr/bin/realstudio