diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/enigma |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/enigma')
-rw-r--r-- | community/enigma/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/enigma/PKGBUILD b/community/enigma/PKGBUILD new file mode 100644 index 000000000..cd93db215 --- /dev/null +++ b/community/enigma/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 9152 2008-08-17 04:18:00Z allan $ +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Jason Chu <jason@archlinux.org> + +pkgname=enigma +pkgver=1.04 +pkgrel=2 +pkgdesc=" Enigma is a puzzle game involving falling blocks" +arch=('i686' 'x86_64') +url="http://www.chiark.greenend.org.uk/~sgtatham/enigma/" +license=('custom') +depends=('ncurses') +source=(http://www.chiark.greenend.org.uk/~sgtatham/enigma/$pkgname-$pkgver.tar.gz) +md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d') + + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr --localstatedir=/var + sed -i "s/root\.games/root.root/" Makefile + mkdir -p $startdir/pkg/usr/bin + make || return 1 + make prefix=$startdir/pkg/usr localstatedir=$startdir/pkg/var install + install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/enigma/license +} |