summaryrefslogtreecommitdiff
path: root/pcr/gnuit/PKGBUILD
blob: fbbd7133054e62d0e511b388f35b5d116dda1261 (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 (Arch): James Reed <supplantr at archlinux dot info>
# Contributor (Arch): Leslie P. Polzer <polzer at stardawn dot org>
# Maintainer : Parabola GNU / Linux-libre 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
}