summaryrefslogtreecommitdiff
path: root/community/gtypist/PKGBUILD
blob: 167beb14bdbdb6b599df16ab75490368d76de12c (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
29
30
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 105230 2014-02-03 09:21:09Z 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.4
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=('1b6acd602996b86f8967ab7693b06ec8'
         'a836141e70941b7e0d3477bc8ecdecdf')

prepare() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/ncurses.patch
  aclocal
  automake --add-missing
  autoreconf
}

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=$pkgdir/usr install
  rm -f $pkgdir/usr/share/info/dir
}