summaryrefslogtreecommitdiff
path: root/community/nethack/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-05 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-07-05 00:02:54 +0000
commit7f6f69dc52c8601768ba48fa7b69507a80d532cb (patch)
tree028dd3e49c2080a2ab59860c0a20b3a8dfe5cdbf /community/nethack/PKGBUILD
parent298f654d4656dcc1e8d78c37dd77ae2ebfc1bf5f (diff)
Thu Jul 5 00:02:54 UTC 2012
Diffstat (limited to 'community/nethack/PKGBUILD')
-rw-r--r--community/nethack/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/nethack/PKGBUILD b/community/nethack/PKGBUILD
index a3da43710..ccb4a8c60 100644
--- a/community/nethack/PKGBUILD
+++ b/community/nethack/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 54249 2011-08-15 09:38:46Z schuay $
+# $Id: PKGBUILD 73189 2012-07-03 18:35:52Z schuay $
# Maintainer : schuay <jakob.gruber@gmail.com>
# Contributor : kevin <kevin@archlinux.org>
# Contributor : Christian Schmidt <mucknert@gmx.net>
@@ -7,7 +7,7 @@
pkgname=nethack
pkgver=3.4.3
-pkgrel=6
+pkgrel=7
pkgdesc='A single player dungeon exploration game'
arch=('i686' 'x86_64')
url="http://www.nethack.org/index.html"
@@ -22,7 +22,7 @@ build(){
sh sys/unix/setup.sh
sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/var/games/nethack/|' \
- -e '/^#define COMPRESS\s/ s|/usr/bin/compress|/bin/gzip|' \
+ -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \
-e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
-e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h