1 # Maintainer: Tom Wadley <tomwadley@fastmail.fm>
5 pkgdesc="A public domain 3d block-building game similar to Minecraft"
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"
13 "manicdigger-monstereditor")
14 noextract=("$pkgname-$pkgver.zip")
15 md5sums=('c1105b17d7fd4fe0c5c9a3606a7e99d3'
16 '8853a36d497bad45ec57d2839b31617d'
17 '5b934df520afccd827f1426ce5ff2a96'
18 'f2a61ac984da9c95ee0971d31131720e')
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"