summaryrefslogtreecommitdiff
path: root/community/gtypist/PKGBUILD
blob: ae82be66ac14bff184931c42ed2c757a3b669742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 59675 2011-11-29 10:07:33Z 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.1
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=('8b7e5595fcabd254f85c2e171dcaf4fc'
         'ba5e990d948ba5019391094dac890aa6')

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
}