1 # vim:set ts=2 sw=2 et:
2 # Maintainer: Michal Kowalski <kowalski TOD michal TA gmail TOD com>
9 pkgdesc="An artificial life and evolution simulator that uses Hebbian neural networks and OpenGL/SDL to simulate life in a simplified environment. It is based on Larry Yaeger's PolyWorld idea"
11 # originally there, still has 1st version's tarball, do not remove
12 #url="http://achilles.sourceforge.net/"
13 url="http://packages.debian.org/achilles"
15 #url="http://packages.debian.org/search?keywords=achilles"
16 # really but looks better in -Qi and should be the stable one
19 depends=('libgl' 'sdl' 'libpng' 'zlib')
29 # see url comment above...
30 #source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
31 source=(http://ftp.debian.org/debian/pool/main/a/$pkgname/${pkgname}_${pkgver}.orig.tar.gz
32 http://ftp.debian.org/debian/pool/main/a/$pkgname/${pkgname}_${pkgver}-${_debplv}.diff.gz)
33 md5sums=('4514b3f93b8bf790738822da3a0f37de'
34 'a74f6bfefcacd10b7b70f7d23487dc16')
37 _docs='README NEWS ChangeLog AUTHORS'
40 cd "$srcdir/$pkgname-$pkgver"
42 gunzip -c ../${pkgname}_${pkgver}-${_debplv}.diff.gz | patch -p1
43 ./configure --prefix=/usr
48 cd "$srcdir/$pkgname-$pkgver"
50 make DESTDIR="$pkgdir/" install
51 for d in usr/share/{doc/$pkgname-$pkgver,pixmaps,applications,man/man1} ; do
52 install -m755 -d $pkgdir/$d ;
54 install -m644 debian/$pkgname.1 $pkgdir/usr/share/man/man1
55 install -m644 debian/$pkgname.desktop $pkgdir/usr/share/applications
56 install -m644 debian/$pkgname.svg $pkgdir/usr/share/pixmaps
57 install -m644 -t $pkgdir/usr/share/doc/$pkgname-$pkgver ${_docs}