blob: b010da42cf1b8f83785edbce6adca1280e9fd239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
# Contributor: William Grieshaber <me@zee.li>
# Contributor: Michal Kowalski <kowalski TOD michal TA gmail TOD com>
pkgname=achilles
pkgver=2.12
pkgrel=1
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"
arch=('i686' 'x86_64')
# originally there, still has 1st version's tarball, do not remove
#url="http://achilles.sourceforge.net/"
url="http://packages.debian.org/achilles"
# resolves to
#url="http://packages.debian.org/search?keywords=achilles"
# really but looks better in -Qi and should be the stable one
license=('GPL2')
depends=('glu' 'libgl' 'libpng' 'sdl' 'zlib')
backup=()
options=()
install=
changelog=
# see url comment above...
#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
source=("http://ftp.debian.org/debian/pool/main/a/${pkgname}/${pkgname}_2-12.debian.tar.xz"
"http://ftp.debian.org/debian/pool/main/a/${pkgname}/${pkgname}_2.orig.tar.gz")
sha512sums=('51727e0d4497cca664c56b55afaf18320973bb44ee974170d85985036ea940356c7e6dddf3a235b41ea4ce911bc6f6a1f532d12a04bb6c9ec22275831a563077'
'3be21d55aea094fa32536348d29f5fe45f9681d1ee2627d146c8595303d70219a38946435b0f83446ff039d5133a5efc946749378c86c0cc93091c0ebaaa1185')
noextract=()
prepare() {
cd "$srcdir/$pkgname-2"
patch -p1 -i "../debian/patches/010_previous.patch"
}
build() {
cd "$srcdir/$pkgname-2"
./configure --prefix=/usr
make CXXFLAGS="${CXXFLAGS} -I/usr/include/SDL"
}
package() {
pushd "$srcdir/$pkgname-2"
make DESTDIR="${pkgdir}/" install
for d in usr/share/{doc/$pkgname-2,pixmaps,applications,man/man1} ; do
install -dm755 "${pkgdir}/$d" ;
done
install -m644 -t "${pkgdir}/usr/share/doc/$pkgname-2" README NEWS ChangeLog AUTHORS
popd
install -m644 "debian/$pkgname.1" "${pkgdir}/usr/share/man/man1"
install -m644 "debian/$pkgname.desktop" "${pkgdir}/usr/share/applications"
install -m644 "debian/$pkgname.svg" "${pkgdir}/usr/share/pixmaps"
}
# vim:set ts=2 sw=2 et:
|