summaryrefslogtreecommitdiff
path: root/community/xplanet
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-22 23:13:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-22 23:13:01 +0000
commitb57c1def9a907b81a49aa91eeb39c9321763c276 (patch)
tree1d056a9ceb1c5ab57a9344548d8ab2a273f09910 /community/xplanet
parent34b339c5913a55cb5bac8a502696fcd3f54aac0f (diff)
Fri Jul 22 23:13:01 UTC 2011
Diffstat (limited to 'community/xplanet')
-rw-r--r--community/xplanet/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/community/xplanet/PKGBUILD b/community/xplanet/PKGBUILD
index 6f6aec1dd..be1d39f2e 100644
--- a/community/xplanet/PKGBUILD
+++ b/community/xplanet/PKGBUILD
@@ -1,26 +1,22 @@
-# $Id: PKGBUILD 8986 2010-01-23 01:24:16Z foutrelis $
+# $Id: PKGBUILD 52172 2011-07-21 07:16:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=xplanet
-pkgver=1.2.1
-pkgrel=3
+pkgver=1.2.2
+pkgrel=1
pkgdesc="An Xearth wannabe"
arch=(i686 x86_64)
url="http://xplanet.sourceforge.net/"
license=('GPL')
-depends=('pango' 'libungif' 'libtiff' 'perl' 'libxss')
-source=(http://kent.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('5dca0369ca64fa3c006b616b72b5e1cf')
+depends=('pango' 'libungif' 'libtiff' 'libxss')
+source=(http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz)
+md5sums=('b38c3b4cfdd772643f876a9bb15f288b')
build() {
- cd $startdir/src/$pkgname-$pkgver
-
- sed -i '1,2i#include <stdio.h>' src/Satellite.cpp
- sed -i '1,2i#include <stdio.h>' src/Separation.cpp
-
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --with-freetype
- make || return 1
- make prefix=$startdir/pkg/usr install
+ make
+ make prefix=$pkgdir/usr install
}