1 # Contributor: Nevar <psi.neamf@gmail.com>
5 pkgdesc="A RAD environment that compiles native applications for Windows, Mac and Linux."
7 url="http://www.realsoftware.com"
10 install=('realbasic.install')
11 source=(http://realsoftware.cachefly.net/REALbasic{$pkgver}/REALbasicLinux.tgz realbasic.install realbasic.desktop)
12 md5sums=('137fb93d13d8a510dfe9d6e3e9521c38'
13 '40c6a2bfd97c277bb5c356c53fe1e932'
14 'f50de62bde7e09c81b6dd0179a93549d')
18 chmod 755 -R ${startdir}/src/REALbasic${pkgver}
20 mkdir -p ${startdir}/pkg/opt/RealBasic-${pkgver}
21 mv ${startdir}/src/REALbasic${pkgver}/* ${startdir}/pkg/opt/RealBasic-${pkgver}
23 install -D -m644 ${startdir}/pkg/opt/RealBasic-${pkgver}/Resources/icon.xpm ${startdir}/pkg/usr/share/pixmaps/realbasic.xpm
24 install -D -m644 ${startdir}/pkg/opt/RealBasic-${pkgver}/Documentation/License\ Agreement.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
25 install -D -m644 ${startdir}/src/realbasic.desktop ${startdir}/pkg/usr/share/applications/realbasic.desktop
27 mkdir -p ${startdir}/pkg/usr/bin
28 ln -sf /opt/RealBasic-${pkgver}/REALbasic2007 ${startdir}/pkg/usr/bin/RealBasic