cruxports/fortune-mod-de/Pkgfile

21 lines
649 B
Plaintext

# Description: collection of German fortune cookie files
# URL: https://salsa.debian.org/debian/fortunes-de/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: fortune-mod
name=fortune-mod-de
version=0.34
release=1
source=(https://salsa.debian.org/debian/fortunes-de/-/archive/upstream/${version}/fortunes-de-upstream-${version}.tar.gz)
build() {
cd fortunes-de-upstream-$version
PREFIX="$PKG/usr" MANDIR=share/man DOCDIR=share/doc/fortune-mod-de \
FORTUNESDIR=share/games/fortune ./install.sh
# clean up footprint
rm -rf "$PKG/usr/"{games,share/doc,share/man}
rm -rf $PKG/usr/share/games/fortune/de/*.u8
}