updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / freebasic / PKGBUILD
blob1842c8e5ada4ec820458ebeed3bee0822e716ce8
1 # Contributor:  rabyte          <gmail.com: rabyte     >
2 # Maintainer:   Jesse Jaara     <gmail.com: jesse.jaara>
4 pkgname=freebasic
5 pkgver=0.23.0
6 pkgrel=1
7 pkgdesc="A free BASIC compiler"
8 arch=('i686' 'x86_64')
9 url="http://www.freebasic.net/"
10 license=('GPL2' 'LGPL')
11 depends=('ncurses')
12 [ "$CARCH" = "x86_64" ] && depends=('lib32-ncurses')
13 provides=('fbc')
14 conflicts=('freebasic-examples')
15 source=("http://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/FreeBASIC-0.23.0-linux.tar.gz")
17 package() {
18         cd "${srcdir}/FreeBASIC-${pkgver}-linux"
20         mkdir "${pkgdir}/usr"
21         ./install.sh -i "${pkgdir}/usr"
23   mv "${pkgdir}"/usr/bin/fbc{,.bin}
24         echo -e "#!/bin/sh\nexec /usr/bin/fbc.bin -prefix /usr \"\${@}\"" > "${pkgdir}/usr/bin/fbc"
25         chmod +x "${pkgdir}/usr/bin/fbc"
27 md5sums=('bc8f215d60c4bbfab762a28ed5684a90')