summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc9b9ef45ea13cb89727130287bde4bbc67e4cb0 (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
40
41
42
# Maintainer:  Tomek Szczęsny <mctom at tlen in poland>
# Contributor: Stefan Tatschner <stefan@rumpelsepp.org>
# Contributor: LinRs <20455421+LinRs AT users.noreply.github.com>
# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Ben Mazer <blm@groknil.org>
# Contributor: Mike Douglas <code_monkey@gooeylinux.org>

pkgname=gtypist-git
pkgver=2.9.5
pkgrel=3
pkgdesc="universal typing tutor"
arch=('x86_64')
url="http://www.gnu.org/software/gtypist/gtypist.html"
license=("GPL3")
depends=('ncurses' 'perl' 'help2man')
makedepends=('git')
provides=(gtypist)
conflicts=(gtypist)
source=("git+https://git.savannah.gnu.org/git/gtypist.git"
	ncurses.patch)
sha256sums=('SKIP'
            'SKIP')

prepare() {
  cd "$srcdir"/gtypist
  patch -p1 <"$srcdir"/ncurses.patch
}

build() {
  cd "$srcdir"/gtypist
  #autoreconf
  ./autogen.sh --prefix=/usr
  #./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/gtypist
  make prefix="$pkgdir"/usr install
}