summaryrefslogtreecommitdiff
path: root/community/enigma
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/enigma
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/enigma')
-rw-r--r--community/enigma/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/enigma/PKGBUILD b/community/enigma/PKGBUILD
new file mode 100644
index 000000000..d29811b7f
--- /dev/null
+++ b/community/enigma/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 51773 2011-07-14 18:20:30Z schuay $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Jason Chu <jason@archlinux.org>
+# Maintainer: schuay <jakob.gruber@gmail.com>
+
+pkgname=enigma
+pkgver=1.04
+pkgrel=3
+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/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d')
+
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --localstatedir=/var
+ sed -i "s/root\.games/root.root/" Makefile
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p $pkgdir/usr/bin
+ make prefix=$pkgdir/usr localstatedir=$pkgdir/var install
+ install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/license
+}