desktop/xplanet/PKGBUILD
2017-02-24 00:59:26 +00:00

31 lines
769 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/xplanet
pkgname=xplanet
pkgver=1.3.1
pkgrel=1
pkgdesc="An Xearth wannabe"
arch=('x86_64')
url="http://xplanet.sourceforge.net/"
license=('GPL')
depends=('pango' 'giflib' 'libtiff' 'libxss')
source=("http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz"
'giflib6.patch')
md5sums=('9797dbd9697d10205ca1671f728ea30d'
'4ccddbd3edfae97a8d4cf36ea571282f')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/giflib6.patch
}
build() {
cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr --with-freetype
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make prefix=${pkgdir}/usr install
}