summaryrefslogtreecommitdiff
path: root/community/bsd-games/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-17 12:16:22 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-17 12:16:22 +0200
commit19cc1bee6bc5b4dfe413db886b8ce66c5736d480 (patch)
treefd8d56e2700f0defda5600b21d87916dbc7e035e /community/bsd-games/PKGBUILD
parentbc864260b40f40e8f689788c54f6138007764077 (diff)
parentb5f4c940227b9a7051c381688636d59f67864f93 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/pidgin-libnotify/PKGBUILD community/prelink/PKGBUILD community/proftpd/PKGBUILD community/xdelta3/PKGBUILD extra/msmtp/PKGBUILD extra/ypbind-mt/PKGBUILD
Diffstat (limited to 'community/bsd-games/PKGBUILD')
-rw-r--r--community/bsd-games/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/bsd-games/PKGBUILD b/community/bsd-games/PKGBUILD
index f91561543..d95896ebd 100644
--- a/community/bsd-games/PKGBUILD
+++ b/community/bsd-games/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 86789 2013-03-22 02:13:44Z eric $
+# $Id: PKGBUILD 90951 2013-05-16 09:13:23Z lcarlier $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
pkgname=bsd-games
pkgver=2.17
-pkgrel=13
+pkgrel=14
pkgdesc="A linux port for a collection of BSD command line games."
url="ftp://ftp.ibiblio.org/pub/Linux/games/"
arch=('i686' 'x86_64' 'mips64el')
@@ -18,7 +18,7 @@ source=(ftp://ftp.ibiblio.org/pub/Linux/games/$pkgname-$pkgver.tar.gz
number.c.diff bsd-games-2.17-64bit.patch
bad-ntohl-cast.diff null-check.diff)
md5sums=('238a38a3a017ca9b216fc42bde405639'
- '9916baef5cb8aa09361f67de12ca7bef'
+ '2ea80281ee9993a9ee47323e78349a2a'
'784f68c796b9e099ac008aecef1af998'
'9c0fa6e2345bd0a7945c9a41d5ba68aa'
'5356bd6999ae53dd27cb2a0f837a3e70'
@@ -27,8 +27,9 @@ md5sums=('238a38a3a017ca9b216fc42bde405639'
'3d21a9dad2e603ddf3842972e4ff85a1'
'a43ca0b4b9ebc4eec26372c52014ac0a')
-build() {
+prepare() {
cd "${srcdir}/$pkgname-$pkgver"
+
[ "$CARCH" = "x86_64" ] && patch -p1 < "$srcdir/bsd-games-2.17-64bit.patch"
cp "${srcdir}/config.params" .
@@ -63,8 +64,11 @@ build() {
# Prior to release 2.17-10 of the ArchLinux package, wargames was
# broken, since binaries are in /usr/bin instead.
sed -i -e 's|/usr/games|/usr/bin|g' wargames/wargames
+}
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
-# Build.
./configure
make
}