summaryrefslogtreecommitdiff
path: root/community/xplanet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xplanet/PKGBUILD')
-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
}