summaryrefslogtreecommitdiff
path: root/community/bsd-games
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
committerroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
commita42cd7aaabfdb3ecc0a538548e8dbcc7ca860b2d (patch)
treebbea919c4d1e7d8d747e636040d0cd510c279d68 /community/bsd-games
parent6b3123e5628817e3cef9c44989dffd21c49b0817 (diff)
Sat Mar 23 00:06:20 PDT 2013
Diffstat (limited to 'community/bsd-games')
-rw-r--r--community/bsd-games/PKGBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/community/bsd-games/PKGBUILD b/community/bsd-games/PKGBUILD
index 470e8a2f0..00bb7c247 100644
--- a/community/bsd-games/PKGBUILD
+++ b/community/bsd-games/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73816 2012-07-15 23:02:25Z cbrannon $
+# $Id: PKGBUILD 86789 2013-03-22 02:13:44Z eric $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
@@ -17,15 +17,21 @@ source=(ftp://ftp.ibiblio.org/pub/Linux/games/$pkgname-$pkgver.tar.gz
config.params stdio.h.diff gamescreen.h.diff getline.diff
number.c.diff bsd-games-2.17-64bit.patch
bad-ntohl-cast.diff null-check.diff)
+md5sums=('238a38a3a017ca9b216fc42bde405639'
+ '9916baef5cb8aa09361f67de12ca7bef'
+ '784f68c796b9e099ac008aecef1af998'
+ '9c0fa6e2345bd0a7945c9a41d5ba68aa'
+ '5356bd6999ae53dd27cb2a0f837a3e70'
+ '47249a90f38ccb4dd07625b245bbc728'
+ '257813b76a41c8b2c02701571c804227'
+ '3d21a9dad2e603ddf3842972e4ff85a1'
+ 'a43ca0b4b9ebc4eec26372c52014ac0a')
build() {
cd "${srcdir}/$pkgname-$pkgver"
[ "$CARCH" = "x86_64" ] && patch -p1 < "$srcdir/bsd-games-2.17-64bit.patch"
cp "${srcdir}/config.params" .
-# Patches
- sed -i "s%PKGDIR%$pkgdir%" config.params
-
# Several games use their own internal functions named getline. All
# are different, and none is the getline from glibc. So we need a patch
# in order to compile. Each internal getline function is prefixed
@@ -65,6 +71,7 @@ build() {
package() {
cd "${srcdir}/$pkgname-$pkgver"
+ sed -i "s%PKGDIR%$pkgdir%g" hide-game install-man install-score Makeconfig subst.sed
make install
# This make install command does install to $pkgdir, because of the
# change to config.params in the build function.
@@ -91,12 +98,3 @@ package() {
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('238a38a3a017ca9b216fc42bde405639'
- '9916baef5cb8aa09361f67de12ca7bef'
- '784f68c796b9e099ac008aecef1af998'
- '9c0fa6e2345bd0a7945c9a41d5ba68aa'
- '5356bd6999ae53dd27cb2a0f837a3e70'
- '47249a90f38ccb4dd07625b245bbc728'
- '257813b76a41c8b2c02701571c804227'
- '3d21a9dad2e603ddf3842972e4ff85a1'
- 'a43ca0b4b9ebc4eec26372c52014ac0a')