From 76c26b027d797f3671bf0b6c6618eda2496cf88d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Jul 2011 23:12:20 +0000 Subject: Fri Jul 15 23:12:20 UTC 2011 --- community/enigma/PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'community/enigma/PKGBUILD') 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 -# Maintainer: Jason Chu +# Contributor: Jason Chu +# Maintainer: schuay 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 } -- cgit v1.2.3-54-g00ecf