summaryrefslogtreecommitdiff
path: root/extra/xbill
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-04 03:57:35 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-04 03:57:35 +0000
commit32fb2c222ff8558d8abdfa411e8487dc9a3c0696 (patch)
tree75539d1ce5e644234d0c1f85faebd3ae17c2377d /extra/xbill
parent92723c41135cfb106d37d4343603e63dc99922ca (diff)
Fri Jul 4 03:52:39 UTC 2014
Diffstat (limited to 'extra/xbill')
-rw-r--r--extra/xbill/03_fix_ftbfs_binutils_gold.diff15
-rw-r--r--extra/xbill/PKGBUILD21
2 files changed, 8 insertions, 28 deletions
diff --git a/extra/xbill/03_fix_ftbfs_binutils_gold.diff b/extra/xbill/03_fix_ftbfs_binutils_gold.diff
deleted file mode 100644
index 09436cd79..000000000
--- a/extra/xbill/03_fix_ftbfs_binutils_gold.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-Description: Fix FTBFS with binutils-gold
-Author: Vincent Legout <vincent@legout.info>
-Bug-Debian: http://bugs.debian.org/556690
-Last-Update: 2009-12-08
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -21,7 +21,7 @@
- VPATH = @srcdir@
-
- ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) -I$(srcdir)
--ALL_LDFLAGS = $(CFLAGS) $(LDFLAGS)
-+ALL_LDFLAGS = $(CFLAGS) $(LDFLAGS) -lXpm
- IMAGE_DEFINES=-DIMAGES=\"${datadir}/xbill\"
- SCORE_DEFINES=-DSCOREFILE=\"${localstatedir}/xbill.scores\"
-
diff --git a/extra/xbill/PKGBUILD b/extra/xbill/PKGBUILD
index 6e696a388..623bd850c 100644
--- a/extra/xbill/PKGBUILD
+++ b/extra/xbill/PKGBUILD
@@ -1,33 +1,28 @@
-# $Id: PKGBUILD 148662 2012-02-05 11:46:02Z ibiru $
+# $Id: PKGBUILD 216440 2014-07-03 21:03:02Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=xbill
pkgver=2.1
-pkgrel=8
+pkgrel=9
pkgdesc="A game that tests your reflexes as you seek and destroy all forms of Bill"
arch=('i686' 'x86_64')
url="http://www.xbill.org/"
license=('GPL')
-depends=('xaw3d>=1.6')
+depends=('xaw3d' 'libxpm')
makedepends=('libxaw')
install=xbill.install
-source=(http://www.xbill.org/download/${pkgname}-${pkgver}.tar.gz
- 03_fix_ftbfs_binutils_gold.diff)
-md5sums=('585e4866b15255a24203db9959407b2f'
- 'e260a6cd4f9af003d249961cb60e2d01')
+source=(http://www.xbill.org/download/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('ca466fb90a7c41055005d2e4dcece2e82b6c55c6')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # taken from Debian
- patch -Np1 -i ${srcdir}/03_fix_ftbfs_binutils_gold.diff
- autoconf -v -f
- ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var/games \
+ cd ${pkgname}-${pkgver}
+ LIBS='-lXpm' ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var/games \
--disable-motif --enable-athena --disable-gtk
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# set appropriate permissions and destinations