updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / tuxtype2 / PKGBUILD
blobcbf53018d3c3ebee9bb7b5fc00aa0ab5a458b4e9
1 # Contributor: Tim Yang <tdy@gmx.com>
2 pkgname=tuxtype2
3 pkgver=1.5.3
4 pkgrel=2
5 pkgdesc="An educational typing tutorial game starring Tux"
6 arch=('i686' 'x86_64')
7 url="http://tuxtype.sourceforge.net/"
8 license=('GPL')
9 depends=('sdl_image' 'sdl_mixer' 'sdl_ttf')
10 source=(http://downloads.sourceforge.net/tuxtype/tuxtype2-$pkgver.tar.bz2
11         tuxtype2.desktop tuxtype2.diff)
12 md5sums=('ca04e65d3b19ddeeedb8a49147ed642b'
13          '4e8b45e7a3a5a32e5c57505f2efa8664')
15 build() {
16   cd "$srcdir/tuxtype2-$pkgver"
17   patch -Np1 -i ../tuxtype2.diff || return 1
18   ./configure --prefix=/usr || return 1
19   make || return 1
20   make DESTDIR="$pkgdir" install || return 1