updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / tuxtype / PKGBUILD
blob2f6d093ec952ea1cbbe1c78f0e8011fedefe3e3f
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: arjan <arjan@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk> and patched by orelien <aurelien.foret@wanadoo.fr>
5 pkgname=tuxtype
6 pkgver=1.8.1
7 pkgrel=1
8 pkgdesc="An educational typing tutorial game starring Tux"
9 arch=('i686' 'x86_64')
10 url="http://tux4kids.alioth.debian.org/"
11 license=('GPL2')
12 depends=('audiofile' 'esound' 'libjpeg' 'libpng' 'librsvg' 'libvorbis' 'sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'sdl_pango')
13 source=(https://alioth.debian.org/frs/download.php/3270/${pkgname}_w_fonts-${pkgver}.tar.gz)
14 md5sums=('ce96616ba0c9e619ce0071a528301e94')
16 build() {
17   cd ${srcdir}/${pkgname}_w_fonts-${pkgver}
19   ./configure --prefix=/usr
20   make || return 1
21   make DESTDIR=${pkgdir} install
23 #icon + desktop files
24   install -D -m644 ${srcdir}/${pkgname}_w_fonts-${pkgver}/$pkgname.desktop \
25     ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
26   install -D -m644 ${srcdir}/${pkgname}_w_fonts-${pkgver}/icon.png \
27     ${pkgdir}/usr/share/pixmaps/$pkgname.png || return 1