summaryrefslogtreecommitdiff
path: root/pcr/gnuit/PKGBUILD
blob: eed0beec368928d59a4e1972457f1ffab2779abd (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
# Contributor: James Reed <supplantr at archlinux dot info>
# Contributor: Leslie P. Polzer <polzer at stardawn dot org>
# Maintainer: Aurélien Desbrières <aurelien@cwb.io>

pkgname=gnuit
pkgver=4.9.5
pkgrel=1
pkgdesc="A set of interactive text-mode tools."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gnuit/"
license=('GPL3')
depends=('bash')
install=${pkgname}.install
source=(http://ftp.gnu.org/gnu/gnuit/$pkgname-$pkgver.tar.gz)

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

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}