updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / ghextris / PKGBUILD
blob3c37de84b61b319782889009b49d0f8a6713d506
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
4 pkgname=ghextris
5 pkgver=0.9.0
6 pkgrel=2
7 pkgdesc="A Tetris-like game on a hexagonal grid"
8 arch=('i686' 'x86_64')
9 url="http://mjr.iki.fi/software/ghextris"
10 license=('GPL')
11 depends=('gnome-python')
12 makedepends=('gettext')
13 source=(http://ftp.debian.org/debian/pool/main/g/$pkgname/${pkgname}_$pkgver-1.3.tar.gz)
14 md5sums=('80a7275e113879cf6b97b49d246be774')
16 build() {
17     cd $srcdir/$pkgname-$pkgver
18     sed -i -e 's|PREFIX/games|PREFIX/bin|g' \
19         -e 's|PREFIX/share/games/ghextris|PREFIX/share/ghextris|g' \
20         -e  's|\.\./share/games/ghextris|"$REALSHAREDIR"|g' install.sh
21     ./install.sh $pkgdir/usr /usr || return 1