summaryrefslogtreecommitdiff
path: root/community/gtypist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtypist/PKGBUILD')
-rw-r--r--community/gtypist/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/community/gtypist/PKGBUILD b/community/gtypist/PKGBUILD
index 74851f851..84c32cba4 100644
--- a/community/gtypist/PKGBUILD
+++ b/community/gtypist/PKGBUILD
@@ -1,24 +1,28 @@
-# $Id: PKGBUILD 44710 2011-04-11 12:22:30Z spupykin $
+# $Id: PKGBUILD 57751 2011-11-02 08:47:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Ben Mazer <blm@groknil.org>
# Contributor: Mike Douglas <code_monkey@gooeylinux.org>
pkgname=gtypist
-pkgver=2.8.5
+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>=5.2' 'perl')
+depends=('ncurses' 'perl')
+makedepends=('emacs')
install=gtypist.install
-source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz)
-md5sums=('49ea1bb5ac51c74a9c75c0dd6d890463')
+source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz
+ ncurses.patch)
+md5sums=('4500940fb1cde36899afd957d64236bb'
+ '17b3a69119e3bd791f0941e0f93fb8b3')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
- make prefix=$pkgdir/usr install
- rm -f $pkgdir/usr/share/info/dir
+ 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
}