blob: 9db5cb5fe1ae84e92b612a899a85a79aa23d7bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Michael Taboada <michael@2mb.solutions>
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
# 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
}
|