summaryrefslogtreecommitdiff
path: root/community/xplanet
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xplanet
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xplanet')
-rw-r--r--community/xplanet/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/xplanet/PKGBUILD b/community/xplanet/PKGBUILD
new file mode 100644
index 000000000..6f6aec1dd
--- /dev/null
+++ b/community/xplanet/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 8986 2010-01-23 01:24:16Z foutrelis $
+# 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
+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')
+
+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
+
+ ./configure --prefix=/usr --with-freetype
+ make || return 1
+ make prefix=$startdir/pkg/usr install
+}