updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / realstudio / PKGBUILD
blob1351fdb7e7414c5f1bdd89cb68c9d68244821f41
1 # Maintainer: Leonardo Miliani <leonardo at leonardomiliani.com>
2 pkgname=realstudio
3 pkgver=2010r1
4 pkgrel=3
5 pkgdesc="A RAD environment based on BASIC 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 optdepends=('cups')
11 install=${pkgname}.install
12 source=(http://realsoftware.cachefly.net/REALStudio${pkgver}/REALStudio${pkgver}.tgz realstudio.desktop)
13 md5sums=('dfad4a33d46a0493f6a73864bdba079b'
14          'e51ad6593c387d991c29a2059b1053c7')
16 build() {
17         
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