summaryrefslogtreecommitdiff
path: root/community/xplanet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xplanet/PKGBUILD')
-rw-r--r--community/xplanet/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/xplanet/PKGBUILD b/community/xplanet/PKGBUILD
index f8974de8e..a05cfd112 100644
--- a/community/xplanet/PKGBUILD
+++ b/community/xplanet/PKGBUILD
@@ -1,21 +1,29 @@
-# $Id: PKGBUILD 90116 2013-05-06 19:40:25Z foutrelis $
+# $Id: PKGBUILD 94933 2013-08-01 07:01:30Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=xplanet
pkgver=1.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="An Xearth wannabe"
arch=(i686 x86_64)
url="http://xplanet.sourceforge.net/"
license=('GPL')
depends=('pango' 'libungif' 'libtiff' 'libxss')
-source=(http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz)
-md5sums=('41f7db2ccd1d8b4b989cacaf9adfe692')
+source=(http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz
+ giflib6.patch)
+md5sums=('41f7db2ccd1d8b4b989cacaf9adfe692'
+ '74e1894304fe3b7caf0b3ddf3c471b0b')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 <$srcdir/giflib6.patch
+}
build() {
cd $srcdir/$pkgname-$pkgver
+ unset LDFLAGS
./configure --prefix=/usr --with-freetype
make
}