updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / realbasic / PKGBUILD
blob3216d62e9d89e95339f55a8a7174d60f0a3b3a6f
1 # Contributor: Nevar <psi.neamf@gmail.com>
2 pkgname=realbasic
3 pkgver=2007r5
4 pkgrel=1
5 pkgdesc="A RAD environment that compiles native applications for Windows, Mac and Linux."
6 arch=('i686')
7 url="http://www.realsoftware.com"
8 license=('custom')
9 depends=('gtk2')
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')
16 build() {
17         
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