diff options
Diffstat (limited to 'community/enigma/PKGBUILD')
-rw-r--r-- | community/enigma/PKGBUILD | 22 |
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 } |