mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
27 lines
782 B
Bash
27 lines
782 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# 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=2
|
||
|
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
|
||
|
}
|