diff options
author | aurelien <tek@localhost.localdomain> | 2012-11-13 21:38:38 +0100 |
---|---|---|
committer | aurelien <tek@localhost.localdomain> | 2012-11-13 21:38:38 +0100 |
commit | ae1a1f5bf720924d0274dfc749a8084374443b2f (patch) | |
tree | 3f15fbe6f46184a4b378cfe02ad73728576a7981 /pcr | |
parent | 8eba14b29abd2ce680d3dab6ba6f6cd0a6b5b918 (diff) | |
download | abslibre-ae1a1f5bf720924d0274dfc749a8084374443b2f.tar.gz abslibre-ae1a1f5bf720924d0274dfc749a8084374443b2f.tar.bz2 abslibre-ae1a1f5bf720924d0274dfc749a8084374443b2f.zip |
gnuit i686
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/gnuit/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/gnuit/gnuit.install | 16 |
2 files changed, 46 insertions, 0 deletions
diff --git a/pcr/gnuit/PKGBUILD b/pcr/gnuit/PKGBUILD new file mode 100644 index 000000000..6c1983e32 --- /dev/null +++ b/pcr/gnuit/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: James Reed <supplantr at archlinux dot info> +# Contributor: 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 +} diff --git a/pcr/gnuit/gnuit.install b/pcr/gnuit/gnuit.install new file mode 100644 index 000000000..e26e79dae --- /dev/null +++ b/pcr/gnuit/gnuit.install @@ -0,0 +1,16 @@ +infodir=usr/share/info +file=gnuit.info + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} |