# $Id: PKGBUILD 57751 2011-11-02 08:47:29Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Ben Mazer # Contributor: Mike Douglas pkgname=gtypist pkgver=2.9 pkgrel=1 pkgdesc="universal typing tutor" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/gtypist/gtypist.html" license=("GPL") depends=('ncurses' 'perl') makedepends=('emacs') install=gtypist.install source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz ncurses.patch) md5sums=('4500940fb1cde36899afd957d64236bb' '17b3a69119e3bd791f0941e0f93fb8b3') build() { cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/ncurses.patch ./configure --prefix=/usr make make prefix=$pkgdir/usr install rm -f $pkgdir/usr/share/info/dir }