diff options
author | tasidus | 2015-08-03 18:51:43 +0300 |
---|---|---|
committer | tasidus | 2015-08-03 18:51:43 +0300 |
commit | 3cf1098786f076a6a53eca4ddee9e279963b3653 (patch) | |
tree | 46d0f1744c6432ac6627d5dfd49af59738356e17 | |
download | aur-3cf1098786f076a6a53eca4ddee9e279963b3653.tar.gz |
aur3 -> aur4 migration
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3d760499c129 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = tuxmath + pkgdesc = An arcade game that helps kids practice their math facts + pkgver = 2.0.3 + pkgrel = 1 + url = http://tux4kids.alioth.debian.org/tuxmath/ + arch = i686 + arch = x86_64 + license = GPL + license = custom + makedepends = make + depends = t4k_common + options = !docs + source = http://distro.ibiblio.org/slitaz/sources/packages/t/tuxmath_w_fonts-2.0.3.tar.gz + sha1sums = 74510bc342d6cefb6dae101cfc8c1207f29d7db9 + +pkgname = tuxmath + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8169f6a87c69 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Tasos Latsas < tlatsas2000 at gmail dot com > +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: arjan <arjan@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Dany Martineau <dany.luc.martineau at gmail.com} + +pkgname=tuxmath +pkgver=2.0.3 +pkgrel=1 +pkgdesc="An arcade game that helps kids practice their math facts" +arch=('i686' 'x86_64') +url="http://tux4kids.alioth.debian.org/tuxmath/" +license=('GPL' 'custom') +depends=('t4k_common') +makedepends=('make') +options=('!docs') +source=(http://distro.ibiblio.org/slitaz/sources/packages/t/${pkgname}_w_fonts-$pkgver.tar.gz) +sha1sums=('74510bc342d6cefb6dae101cfc8c1207f29d7db9') + +build() { + cd "$srcdir/${pkgname}_w_fonts-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/${pkgname}_w_fonts-$pkgver" + + make DESTDIR=$pkgdir install + + # install .desktop file and icons + mkdir -p $pkgdir/usr/share/{applications,pixmaps} + install -D -m644 tuxmath.desktop $pkgdir/usr/share/applications/tuxmath.desktop + install -D -m644 data/images/icons/icon.png $pkgdir/usr/share/pixmaps/tuxmath.png + + # install licenses + install -D -m644 doc/OFL \ + $pkgdir/usr/share/licenses/$pkgname/OFL + install -D -m644 doc/README_DATA_LICENSES \ + $pkgdir/usr/share/licenses/$pkgname/DATA_LICENSES +} |