summaryrefslogtreecommitdiff
path: root/community/gtypist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtypist/PKGBUILD')
-rw-r--r--community/gtypist/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gtypist/PKGBUILD b/community/gtypist/PKGBUILD
new file mode 100644
index 000000000..34bd4c7b5
--- /dev/null
+++ b/community/gtypist/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 92635 2013-06-10 09:42:13Z 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.9.3
+pkgrel=1
+pkgdesc="universal typing tutor"
+arch=('i686' 'x86_64')
+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=('e26c29be0adf345604a802be81712bee'
+ 'e37a2e8fe90c6c0c684c1a12d016ee03')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 <$srcdir/ncurses.patch
+ autoreconf
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$pkgdir/usr install
+ rm -f $pkgdir/usr/share/info/dir
+}