summaryrefslogtreecommitdiff
path: root/community/dopewars
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-18 12:59:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-18 12:59:47 -0300
commit12c074375919d2de177eb9456352866902118a03 (patch)
tree3f6b2e5baadedbc7901bf3e614fd017ca8aaee52 /community/dopewars
parent598db82f25ffe3557e395a11f379de65af9e1ac1 (diff)
parentddddf9c453076a407bfdbf3e030e606f31ee2b86 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/dopewars/PKGBUILD community/virtualbox/PKGBUILD core/lvm2/PKGBUILD extra/aspell/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/libproxy/PKGBUILD extra/live-media/PKGBUILD extra/ocaml/PKGBUILD extra/putty/PKGBUILD extra/python/PKGBUILD extra/ruby/PKGBUILD kde-unstable/calligra/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'community/dopewars')
-rw-r--r--community/dopewars/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/community/dopewars/PKGBUILD b/community/dopewars/PKGBUILD
index 2ce608fc2..4433977cc 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 <Jeepster@gmx.co.uk>
# Contributor: Jeff Mickey <jeff@archlinux.org>
-# Maintainer: Thayer Williams <thayer@archlinux.org>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Maintainer: schuay <jakob.gruber@gmail.com
pkgname=dopewars
pkgver=1.5.12
-pkgrel=4
-pkgdesc="dopewars is a Drug dealing game set in New York"
+pkgrel=5
+pkgdesc="A drug dealing game set in New York"
url="http://dopewars.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
-depends=('gtk2>=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