summaryrefslogtreecommitdiff
path: root/community/xplanet
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-24 00:03:37 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-24 00:03:37 -0500
commit070c331922151d301e3147728cae638902b61db9 (patch)
tree72e112fe8edc90e296f318b0603f3288369f43a9 /community/xplanet
parent0d18015803bebeb58911bf791653597291056095 (diff)
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Commiting libre package llvm-2.9-6
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 99fac12b6..588fb55e5 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 'mips64el')
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
}