updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / npush / PKGBUILD
blobd5140bd16f7063bde75ba6362cb47fb6f56a6bfe
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
4 pkgname=npush
5 pkgver=0.7
6 pkgrel=3
7 pkgdesc="A terminal-based logic game similar to Sokoban and Boulder Dash"
8 arch=('i686' 'x86_64')
9 url="http://npush.sourceforge.net/"
10 license=('GPL2')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz
12         npush.sh)
13 md5sums=('e39180c6ec228ebafb91ff2921f7bdcc'
14          'abf90198f6244058f219b4ec51d05327')
16 build() {
17     # Build
18     cd $srcdir/$pkgname-$pkgver
19     make || return 1
21     # Install game data
22     install -d $pkgdir/usr/share/npush/levels
23     install -m 644 levels/* $pkgdir/usr/share/npush/levels
24     install -m 755 npush $pkgdir/usr/share/npush
26     # Install .desktop, icon and bin
27     install -Dm 644 npush.desktop $pkgdir/usr/share/applications/npush.desktop
28     install -Dm 644 npush.png $pkgdir/usr/share/pixmaps/npush.png
29     install -Dm 755 $srcdir/npush.sh $pkgdir/usr/bin/npush