cruxports/fortune-mod-de/Pkgfile
2022-02-05 15:39:19 -05:00

19 lines
623 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
rm -rf "$PKG/usr/"{games,share/doc,share/man}
rm -rf $PKG/usr/share/games/fortune/de/*.u8
}