# Maintainer: Michael Taboada # Maintainer: Storm Dragon # Contributor: Alexandre Moine < nobrakal at cthugha dot org > # Contributor: Tasos Latsas < tlatsas2000 at gmail dot com > # Contributor: Kyle < kyle at free 2 dot ml > pkgname=tuxmath-git _gitname=tuxmath pkgver=r989.63bfc8a pkgrel=3 pkgdesc="An arcade game that helps kids practice their math facts" arch=('armv7h' 'aarch64' 'i686' 'x86_64') url="http://tux4kids.alioth.debian.org/" license=('GPL') depends=('t4kcommon-git') makedepends=('autoconf' 'automake' 'gettext' 'libtool' 'make' 'git') options=('!docs') provides=('tuxmath') conflicts=('tuxmath') source=("git+https://github.com/tux4kids/tuxmath") sha256sums=('SKIP') pkgver() { cd $_gitname # Use the tag of the last commit printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } #prepare() { # cd "$srcdir/$_gitname" # patch -Np2 -i "$srcdir/libpng15.patch" #} build() { cd "$srcdir/$_gitname" autoreconf -if . ./configure --prefix=/usr make } package() { cd "$srcdir/$_gitname" make DESTDIR=$pkgdir install }