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"
11 optdepends=('cups: For printing support'
12 'libgtkhtml: Render webpages in the built-in HTML Viewer'
13 'lib32-libgtkhtml: Render webpages in the built-in HTML Viewer on multilib install')
14 install=${pkgname}.install
15 source=(http://realsoftware.cachefly.net/REALStudio${pkgver}/RealStudio${pkgver}.tgz realstudio.desktop)
16 md5sums=('98a6e405ac7583dbcbcf2da9022bb493'
17 'e51ad6593c387d991c29a2059b1053c7')
19 if [[ $CARCH == i686 ]]; then
26 install -dv -m755 ${pkgdir}/opt/RealStudio-${pkgver}
27 cp -a ${srcdir}/RealStudio${pkgver}/* ${pkgdir}/opt/RealStudio-${pkgver}
28 chmod 755 -R ${pkgdir}/opt/RealStudio-${pkgver}
30 install -Dv -m644 "${srcdir}/RealStudio${pkgver}/Read Mes/LicenseAgreement.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LicenseAgreement.txt"
32 install -Dv -m644 ${srcdir}/RealStudio${pkgver}/realstudio.xpm ${pkgdir}/usr/share/pixmaps/realstudio.xpm
34 install -Dv -m644 ${srcdir}/realstudio.desktop ${pkgdir}/usr/share/applications/realstudio.desktop
36 install -dv -m755 ${pkgdir}/usr/bin
37 ln -s "/opt/RealStudio-${pkgver}/Real Studio 2011" ${pkgdir}/usr/bin/realstudio