contrib/xplanet/Pkgfile

24 lines
672 B
Plaintext
Raw Normal View History

2006-11-21 14:11:40 +01:00
# Description: Renders an image of the earth into the X root window.
# URL: http://xplanet.sourceforge.net/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
2020-01-20 16:42:04 +01:00
# Depends on: libtiff xorg
2006-11-21 14:11:40 +01:00
name=xplanet
2012-04-14 16:12:25 +02:00
version=1.3.0
2020-01-20 16:42:04 +01:00
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
xplanet-c++11.patch)
2006-11-21 14:11:40 +01:00
2006-12-05 12:29:16 +01:00
build() {
2009-06-25 17:01:32 +02:00
cd $name-$version
2020-01-20 16:42:04 +01:00
# https://git.archlinux.org/svntogit/community.git/tree/trunk/xplanet-c++11.patch?h=packages/xplanet
patch -Np1 -i $SRC/xplanet-c++11.patch
2009-06-25 17:01:32 +02:00
./configure \
2020-01-20 16:42:04 +01:00
--prefix=/usr
2009-06-25 17:01:32 +02:00
2007-04-01 12:21:01 +02:00
make
make DESTDIR=$PKG install
2007-06-08 04:13:57 +02:00
find $PKG -name "README" -type f -delete
2006-11-21 14:11:40 +01:00
}