updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / tworld / PKGBUILD
blob9084c9d0e05c610fc12bb247e4dbbb73b1272ecf
1 pkgname=tworld
2 pkgver=1.3.0
3 pkgrel=4
4 pkgdesc="A Chip's Challenge clone."
5 url="http://www.muppetlabs.com/~breadbox/software/tworld/"
6 arch=(i686)
7 depends=(sdl)
8 license=(GPL)
9 source=(http://www.muppetlabs.com/~breadbox/pub/software/tworld/$pkgname-$pkgver.tar.gz
10         Makefile.in
11         tworld.desktop
12         tworld.png)
13 sha1sums=(21542cb012143d563232883d9337ed0e3bd06672
14           d903cd5ef3d5f62ad3be73399e60d056c7866a31
15           1362569db66ec82eb70a3a4ea6ec7a5e204e5907
16           5a398a2a0a3e00ceb4b85837790bf567efff0e63)
17 md5sums=(03a1f5e750562b6d47b8984bb1640ec0
18          f77c7c712af45ae001db3dff15793373
19          74551d27a9a6dcc2fc0327857f1857ae
20          88f3904891fda2454c297eb447c21e21)
22 build () {
23         CFLAGS="$CFLAGS -DNDEBUG"
25         cd $srcdir/$pkgname-$pkgver
27         cp ../Makefile.in .
28         autoconf
29         ./configure --prefix=/usr
30         make || return 1
31         make DESTDIR=$pkgdir install
33         mkdir -p "$pkgdir"/usr/share/{applications,pixmaps}
34         cd ..
35         install -m644 tworld.desktop "$pkgdir/usr/share/applications/"
36         install -m644 tworld.png "$pkgdir/usr/share/pixmaps/tworld.png"