diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-15 11:25:44 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-15 11:25:44 -0300 |
commit | d3a18c96784861f4671d9575d71cb96041bc4fab (patch) | |
tree | 27e73dccc79fb400f2bd2a855fd523dd8e704db8 /community/dopewars/PKGBUILD | |
parent | 1b8314826a584ddba121a6cb764efd44c784c53e (diff) | |
parent | 4784cc8068c68b6fc23c2bd0ee8158b2a924f5f4 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/dopewars/PKGBUILD
community/flightgear/PKGBUILD
extra/bmp/PKGBUILD
extra/qemu/PKGBUILD
extra/sbcl/PKGBUILD
Diffstat (limited to 'community/dopewars/PKGBUILD')
-rw-r--r-- | community/dopewars/PKGBUILD | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/community/dopewars/PKGBUILD b/community/dopewars/PKGBUILD index 4433977cc..4116a23d3 100644 --- a/community/dopewars/PKGBUILD +++ b/community/dopewars/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 51778 2011-07-14 18:25:43Z schuay $ +# $Id: PKGBUILD 54061 2011-08-13 02:36:39Z ebelanger $ # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Jeff Mickey <jeff@archlinux.org> # Contributor: Thayer Williams <thayer@archlinux.org> @@ -6,41 +6,42 @@ pkgname=dopewars pkgver=1.5.12 -pkgrel=5 +pkgrel=6 pkgdesc="A drug dealing game set in New York" url="http://dopewars.sourceforge.net/" license=('GPL') arch=('i686' 'x86_64' 'mips64el') -depends=('gtk2' 'alsa-lib' 'audiofile' 'esd' 'sdl_mixer' 'ncurses') +depends=('gtk2' 'alsa-lib' 'audiofile' 'sdl_mixer' 'ncurses') install='dopewars.install' source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('debf749de9053dc2fb2e74c37ae06206') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --localstatedir=/var/games \ --mandir=/usr/share/man make } + package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir" install # setup shortcut menu entries - mkdir -p $pkgdir/usr/share/applications - mv $pkgdir/usr/share/gnome/apps/Games/dopewars.desktop \ - $pkgdir/usr/share/applications - rm -r $pkgdir/usr/share/gnome + mkdir -p "$pkgdir/usr/share/applications" + mv "$pkgdir/usr/share/gnome/apps/Games/dopewars.desktop" \ + "$pkgdir/usr/share/applications" + rm -r "$pkgdir/usr/share/gnome" # set appropriate permissions and destinations - chown root:games $pkgdir/usr/bin/dopewars - chmod 2755 $pkgdir/usr/bin/dopewars - chown root:games $pkgdir/var/games - chmod 775 $pkgdir/var/games + chown root:games "$pkgdir/usr/bin/dopewars" + chmod 2755 "$pkgdir/usr/bin/dopewars" + chown root:games "$pkgdir/var/games" + chmod 775 "$pkgdir/var/games" # Handle the scores file creation in the install script - rm $pkgdir/var/games/dopewars.sco + rm "$pkgdir/var/games/dopewars.sco" } |