diff options
Diffstat (limited to 'community/xplanet/PKGBUILD')
-rw-r--r-- | community/xplanet/PKGBUILD | 26 |
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 +} |