void-packages/srcpkgs/FreeDoko/template

27 lines
856 B
Bash

# Template file for 'FreeDoko'
pkgname=FreeDoko
version=0.7.16
revision=1
wrksrc="FreeDoko_${version}"
build_style=gnu-makefile
make_build_target="compile"
hostmakedepends="unzip pkg-config asciidoc"
makedepends="gtkmm-devel freealut-devel"
short_desc="Free implementation of the card game Doppelkopf"
maintainer="Michael Straube <straubem@gmx.de>"
homepage="http://free-doko.sourceforge.net/en/FreeDoko.html"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/free-doko/FreeDoko_${version}.src.zip"
checksum=6fdcee22b3e9a76d44d8c3a582d068452290ec4c24f8f2f9e4498adf4daf40af
post_extract() {
rm manual/{de/Makefile,en/Makefile,Makefile}
rm manual/de/operation/pictures/Regeln/create_screenshots.sh
find manual -type f -exec chmod 644 {} \;
}
post_install() {
vinstall bin/FreeDoko.desktop 644 usr/share/applications
vcopy manual usr/share/doc/FreeDoko
}