1 # Maintainer: Tasos Latsas < tlatsas2000 at gmail dot com >
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: arjan <arjan@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 # Contributor: Dany Martineau <dany.luc.martineau at gmail.com}
10 pkgdesc="An arcade game that helps kids practice their math facts"
11 arch=('i686' 'x86_64')
12 url="http://tux4kids.alioth.debian.org/tuxmath/"
13 license=('GPL' 'custom')
14 depends=('t4k_common')
17 source=(https://alioth.debian.org/frs/download.php/3561/${pkgname}_w_fonts-${pkgver}.tar.gz)
18 md5sums=('dd9237f9ce38f931ecaae552cdaaaefe')
21 cd "${srcdir}"/${pkgname}_w_fonts-${pkgver}
23 ./configure --prefix=/usr
28 cd "${srcdir}"/${pkgname}_w_fonts-${pkgver}
30 make DESTDIR=${pkgdir} install
32 # install .desktop file and icons
33 mkdir -p ${pkgdir}/usr/share/{applications,pixmaps}
34 install -D -m644 tuxmath.desktop ${pkgdir}/usr/share/applications/tuxmath.desktop
35 install -D -m644 data/images/icons/icon.png ${pkgdir}/usr/share/pixmaps/tuxmath.png
38 install -D -m644 doc/OFL \
39 ${pkgdir}/usr/share/licenses/${pkgname}/OFL
40 install -D -m644 doc/README_DATA_LICENSES \
41 ${pkgdir}/usr/share/licenses/${pkgname}/DATA_LICENSES