updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / nanopond / PKGBUILD
blobf0611a487eb4ce913c1d4a73b84d66cb2dd6d18f
1 # Contributor: Sean Bartell <wingedtachikoma@gmail.com>
2 pkgname=nanopond
3 pkgver=1.9
4 pkgrel=1
5 pkgdesc="A teeny tiny artificial life virtual machine"
6 url="http://adam.ierymenko.name/nanopond.shtml"
7 license=('GPL')
8 source=("http://adam.ierymenko.name/files/$pkgname-$pkgver.c")
9 arch=('i686' 'x86_64')
10 depends=('sdl')
11 md5sums=('ff67c936ed47de3ea4a8a6653e54aad7')
12 sha1sums=('31a14aad2f5caf48e1efce9a770d7685c8140f43')
13 sha512sums=('c4bed6fdaa90f830434a732b0c9f9f980154c20a26af55e54d50ddf9403dc020427b9cda8d52f6c864e691a67367d1051132762f6f7211d9c9bd7925bfacdf57')
15 build() {
16   cd "$srcdir"
17   # These are the flags recommended in the source file
18   gcc $CFLAGS $(sdl-config --cflags --libs) -O6 -funroll-loops -fomit-frame-pointer -ftree-vectorize -o nanopond "$pkgname-$pkgver.c" || return 1
19   mkdir -p $pkgdir/usr/bin
20   install nanopond "$pkgdir/usr/bin" || return 1
23 # vim:set ts=2 sw=2 et: