#Maintainer: Christopher Rey P. Baluyut pkgname=xplanet pkgver=1.2.1 pkgrel=1 zenver=64 arch=i486 source=("http://kent.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=('AUTHORS' 'COPYING' 'INSTALL' 'NEWS' 'README' 'ChangeLog') url="http://xplanet.sourceforge.net/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xplanet" "An Xearth wannabe" ) build() { cd $startdir/src/$pkgname-$pkgver sed -i '1,2i#include ' src/Satellite.cpp sed -i '1,2i#include ' src/Separation.cpp ./configure --prefix=/usr --with-freetype make -j2 || exit 1 make install DESTDIR=$startdir/pkg }