void-packages/srcpkgs/fortune-mod-de/template

21 lines
760 B
Bash

# Template file for 'fortune-mod-de'
pkgname=fortune-mod-de
reverts="1.0_2"
version=0.34
revision=2
wrksrc="fortunes-de-upstream-${version}"
hostmakedepends="fortune-mod"
depends="fortune-mod"
short_desc="Collection of German fortune cookie files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://salsa.debian.org/debian/fortunes-de/"
distfiles="https://salsa.debian.org/debian/fortunes-de/-/archive/upstream/${version}/fortunes-de-upstream-${version}.tar.gz"
checksum=af98e266eaebc44651eff6f2e757cdbea8159c051bd890eeb5d2d0ce0543fcc2
do_install() {
PREFIX="$DESTDIR/usr" MANDIR=share/man DOCDIR=share/doc/fortune-mod-de \
FORTUNESDIR=share/fortunes ./install.sh
rm -rf ${DESTDIR}/usr/{games,share/doc,share/man}
}