updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / moagg / PKGBUILD
blob28acee197ed5cca7a2252a81c7b2e6a103cd0bf8
1 # Maintainer: andy123 <ajs @ online.de>
3 pkgname=moagg
4 pkgver=1.95b
5 pkgrel=3
6 pkgdesc="Mother of all gravity games"
7 arch=('any')
8 url="http://moagg.sourceforge.net/"
9 license=('GPL2')
10 depends=('java-runtime')
11 provides=('moagg')
12 source=("http://sourceforge.net/projects/moagg/files/moagg2/1.95/moagg-1.95b-bin.zip"
13         "$pkgname.sh"
14         "$pkgname.desktop"
15         "$pkgname.png")
17 package() {
18         cd $srcdir/$pkgname-$pkgver
19         rm run.bat
20         mkdir -p $pkgdir/usr/share/$pkgname/
21         cp -r * $pkgdir/usr/share/$pkgname/
22         install -Dm755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
23         install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
24         install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
25         find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 {} +
28 md5sums=('f5443926b8a1eba89f4f64115b66c588'
29          '2e80b5bd2e5b7b224af6b98889ed707f'
30          'a3f12f760a982b06ef717becb02a489e'
31          '0b0ae9d7addb8fc3c7041496c254fe8a')
32 sha1sums=('cc8f95beed2933b6a9e794854741e6f84a5cb392'
33           'd72552538eb2272d84b3839818da83bdc8934499'
34           '57bc28d7209161d36b70e242f14913898aeaf478'
35           'efb6da987f3a3ff7853f281ada37163e87a4f82c')