summaryrefslogtreecommitdiff
path: root/community/enigma
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
committerroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
commit76c26b027d797f3671bf0b6c6618eda2496cf88d (patch)
treec386be56a0a3bc7b668a674e9cec6405a4d2fb2f /community/enigma
parent29657877f6a02dbba1bd58b417b4ccd211939690 (diff)
Fri Jul 15 23:12:20 UTC 2011
Diffstat (limited to 'community/enigma')
-rw-r--r--community/enigma/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/enigma/PKGBUILD b/community/enigma/PKGBUILD
index cd93db215..d29811b7f 100644
--- a/community/enigma/PKGBUILD
+++ b/community/enigma/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 9152 2008-08-17 04:18:00Z allan $
+# $Id: PKGBUILD 51773 2011-07-14 18:20:30Z schuay $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Jason Chu <jason@archlinux.org>
+# Contributor: Jason Chu <jason@archlinux.org>
+# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=enigma
pkgver=1.04
-pkgrel=2
+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/enigma/$pkgname-$pkgver.tar.gz)
+source=("http://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$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
+ 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
}