core/xplanet/PKGBUILD

31 lines
769 B
Bash
Raw Normal View History

2015-03-06 03:31:01 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/xplanet
2010-04-07 03:23:26 +08:00
pkgname=xplanet
pkgver=1.3.0
2015-03-06 03:31:01 +08:00
pkgrel=3
2010-04-07 03:23:26 +08:00
pkgdesc="An Xearth wannabe"
arch=('x86_64')
2010-04-07 03:23:26 +08:00
url="http://xplanet.sourceforge.net/"
license=('GPL')
2015-03-06 03:31:01 +08:00
depends=('pango' 'giflib' 'libtiff' 'libxss')
source=("http://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/xplanet-$pkgver.tar.gz"
'giflib5.patch')
md5sums=('41f7db2ccd1d8b4b989cacaf9adfe692'
'c9b4504224bb5a8d6c3442fdaf1b9542')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/giflib5.patch
}
2010-04-07 03:23:26 +08:00
build() {
cd "${srcdir}/$pkgname-$pkgver"
2010-04-07 03:23:26 +08:00
./configure --prefix=/usr --with-freetype
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make prefix=${pkgdir}/usr install
2010-04-07 03:23:26 +08:00
}