summaryrefslogtreecommitdiff
path: root/community/xplanet/PKGBUILD
blob: 6f6aec1dd16b91244d3ca8e702bf9d796f0bc4be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}