pkgname=xplanet pkgver=1.3.1 pkgrel=11 pkgdesc="Xplanet was inspired by Xearth, which renders an image of the earth into the X root window" arch=('x86_64') url="https://xplanet.sourceforge.net/" license=('GPL') depends=('pango' 'giflib' 'libtiff' 'perl' 'libxss') source=("https://downloads.sourceforge.net/project/xplanet/xplanet/$pkgver/${pkgname}-${pkgver}.tar.gz" 'giflib.patch' 'gcc6.patch') md5sums=('9797dbd9697d10205ca1671f728ea30d' '4ccddbd3edfae97a8d4cf36ea571282f' '7688d0ce0bb70ba423ffed040bb8ed07') build() { cd ${pkgname}-${pkgver} patch -p1 -i ${srcdir}/giflib.patch patch -p1 -i ${srcdir}/gcc6.patch ./configure --prefix=/usr --with-freetype make } package() { cd ${pkgname}-${pkgver} make prefix=${pkgdir}/usr install }