1 # Contributor: rabyte <gmail.com: rabyte >
2 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
7 pkgdesc="A free BASIC compiler"
9 url="http://www.freebasic.net/"
10 license=('GPL2' 'LGPL')
12 [ "$CARCH" = "x86_64" ] && depends=('lib32-ncurses')
14 conflicts=('freebasic-examples')
15 source=("http://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/FreeBASIC-0.23.0-linux.tar.gz")
18 cd "${srcdir}/FreeBASIC-${pkgver}-linux"
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')