updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / sdl_basic / PKGBUILD
blob5af74351b788cba05dedbfe0b85d74d50f21a93c
1 # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
2 pkgname=sdl_basic
3 pkgver=1.0.2
4 pkgrel=1
5 pkgdesc="An implementation of the BASIC language with SDL support"
6 arch=('i686' 'x86_64')
7 url="http://www.linuxmotors.com/SDL_basic/"
8 license=('GPL2')
9 depends=('sdl')
10 install=$pkgname.install
11 source=(http://www.linuxmotors.com/SDL_basic/downloads/SDL_basic-$pkgver.tgz)
12 md5sums=('3e59b6d38a7d2daf723d6ac782f8d2fa')
14 build() {
15   cd $srcdir/SDL_basic-$pkgver
17   make || return 1
19   install -m755 -D basic $pkgdir/usr/bin/$pkgname
20   mkdir -p $pkgdir/usr/share/$pkgname/samples
21   install -m644 README $pkgdir/usr/share/$pkgname/
22   cp -rf *.bas $pkgdir/usr/share/$pkgname/samples/