# Maintainer: Michael Straube # Contributor: Robert Knauer pkgname=freedoko-git pkgver=0.7.16.r401.g90d107fe pkgrel=1 pkgdesc="Free implementation of the card game Doppelkopf (git version)" arch=('i686' 'x86_64') url="http://free-doko.sourceforge.net/en/FreeDoko.html" license=('GPL') depends=('gtkmm3' 'freealut') makedepends=('git' 'asciidoc' 'texlive-latexextra' 'w3m' 'dos2unix' 'rsync') conflicts=('freedoko') provides=('freedoko') source=("git+https://gitlab.com/dknof/FreeDoko.git" "freedoko-git-archlinux.patch") sha256sums=('SKIP' 'c167cd37fdbdb466374fb331d4b2136be61fcce7943be336df62f3fce8d1f775') pkgver() { cd FreeDoko git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd FreeDoko patch -p1 -i ../freedoko-git-archlinux.patch } build() { cd FreeDoko make compile make documentation } package() { cd FreeDoko make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/share/doc/freedoko/{de/Windows.txt,en/Windows,hpux*} }