updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / n-ninja / PKGBUILD
blob13447699e06fe53592926f425ee075d8cca4e4fc
1 # Contributor: Tim Yang <tdy@gmx.com>
2 # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
3 pkgname=n-ninja
4 pkgver=1.4
5 pkgrel=3
6 pkgdesc="Metanet's unique 2D puzzle/action platform game"
7 arch=('i686' 'x86_64')
8 url="http://www.thewayoftheninja.org/n.html"
9 license=('custom')
10 depends=('gtk2')
11 [ "$CARCH" == "x86_64" ] && depends=('lib32-gtk2')
12 source=(http://www.harveycartel.org/metanet/n_v1linux.tar.gz credits.txt
13         http://www.ziva-vatra.com/downloads/N_v14_vatra n-ninja.desktop
14         n-ninja.png)
15 md5sums=('59e9c4547bc8abd981864a5b51983990' 'ab7e46afd3fcaa2cd2c82ab16bb334c1'
16          '22305ef8338d24af98a12fcefdb786fc' '8703ed218d043da8b2ffedd7cb4b4afa'
17          'e203530609cdbce18ded071ff6f3d381')
19 build() {
20   cd "$srcdir/n_v1linux"
21   install -Dm644 license.txt "$pkgdir/usr/share/licenses/n-ninja/license.txt"
22   install -Dm644 readme.txt "$pkgdir/usr/share/n-ninja/doc/readme.txt"
23   install -Dm644 userlevels.txt "$pkgdir/usr/share/n-ninja/userlevels.txt"
24   install -Dm755 ../N_v14_vatra "$pkgdir/usr/share/n-ninja/N_v14_vatra"
25   install -Dm644 ../n-ninja.desktop \
26     "$pkgdir/usr/share/applications/n-ninja.desktop"
27   install -Dm644 ../n-ninja.png "$pkgdir/usr/share/pixmaps/n-ninja.png"
28   install -Dm644 ../credits.txt "$pkgdir/usr/share/n-ninja/doc/credits.txt"
29   install -dm755 "$pkgdir/usr/bin"
30   ln -sf /usr/share/n-ninja/N_v14_vatra "$pkgdir/usr/bin/n-ninja"