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/dopewars/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'community/dopewars') diff --git a/community/dopewars/PKGBUILD b/community/dopewars/PKGBUILD index 2fe81262b..bb04e7fc9 100644 --- a/community/dopewars/PKGBUILD +++ b/community/dopewars/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 19596 2008-11-28 02:08:18Z thayer $ +# $Id: PKGBUILD 51778 2011-07-14 18:25:43Z schuay $ # Contributor: Tom Newsom # Contributor: Jeff Mickey -# Maintainer: Thayer Williams +# Contributor: Thayer Williams +# Maintainer: schuay =2.12.11' 'alsa-lib' 'audiofile' 'esd' 'sdl_mixer' 'ncurses>=5.6-7') +depends=('gtk2' 'alsa-lib' 'audiofile' 'esd' 'sdl_mixer' 'ncurses') install='dopewars.install' source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('debf749de9053dc2fb2e74c37ae06206') @@ -19,9 +20,13 @@ build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var/games \ - --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 + --mandir=/usr/share/man + make +} +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install # setup shortcut menu entries mkdir -p $pkgdir/usr/share/applications -- cgit v1.2.3-54-g00ecf