updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / manicdigger / PKGBUILD
blob09e75539d812930c17e0636f03ed07a0e18da8e1
1 # Maintainer: Tom Wadley <tomwadley@fastmail.fm>
2 pkgname=manicdigger
3 pkgver=2011_12_18
4 pkgrel=1
5 pkgdesc="A public domain 3d block-building game similar to Minecraft"
6 arch=('any')
7 url="http://manicdigger.sourceforge.net"
8 license=('custom:"public domain"')
9 depends=('mono' 'openal')
10 source=("$pkgname-$pkgver.zip::http://manicdigger.sourceforge.net/nightly/ManicDigger2011-12-18Binary.zip"
11         "manicdigger"
12         "manicdigger-server"
13         "manicdigger-monstereditor")
14 noextract=("$pkgname-$pkgver.zip")
15 md5sums=('c1105b17d7fd4fe0c5c9a3606a7e99d3'
16          '8853a36d497bad45ec57d2839b31617d'
17          '5b934df520afccd827f1426ce5ff2a96'
18          'f2a61ac984da9c95ee0971d31131720e')
20 package() {
21   mkdir -p "$pkgdir/opt/$pkgname"
22   bsdtar -xf "$pkgname-$pkgver.zip" -C "$pkgdir/opt/$pkgname"
24   chmod 644 -R "$pkgdir/opt/$pkgname"
25   chmod a+X -R "$pkgdir/opt/$pkgname"
27   install -D -m755 "$srcdir"/manicdigger "$pkgdir/usr/bin/manicdigger"
28   install -D -m755 "$srcdir"/manicdigger-server "$pkgdir/usr/bin/manicdigger-server"
29   install -D -m755 "$srcdir"/manicdigger-monstereditor "$pkgdir/usr/bin/manicdigger-monstereditor"
31   install -D -m644 "$pkgdir/opt/$pkgname"/credits.txt "$pkgdir/usr/share/licenses/$pkgname/credits.txt"