summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/less/PKGBUILD28
-rw-r--r--abs/core/less/zless9
2 files changed, 15 insertions, 22 deletions
diff --git a/abs/core/less/PKGBUILD b/abs/core/less/PKGBUILD
index a83ec60..4b12894 100644
--- a/abs/core/less/PKGBUILD
+++ b/abs/core/less/PKGBUILD
@@ -1,27 +1,29 @@
-# $Id: PKGBUILD 47851 2009-07-28 09:48:01Z allan $
+# $Id: PKGBUILD 149934 2012-02-11 23:29:36Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=less
-pkgver=436
-pkgrel=1
+pkgver=444
+pkgrel=3
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
arch=('i686' 'x86_64')
url="http://www.greenwoodsoftware.com/less"
groups=('base')
-depends=('ncurses')
-source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('817bf051953ad2dea825a1cdf460caa4')
+depends=('ncurses' 'pcre')
+source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('56f9f76ffe13f70155f47f6b3c87d421'
+ 'd5fafbd94a9cfdeaad0c82143a033fe5')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre
+ make
}
+
package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr install
- install -dm755 $pkgdir/bin
- mv $pkgdir/usr/bin/$pkgname $pkgdir/bin/
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}"/usr install
}
diff --git a/abs/core/less/zless b/abs/core/less/zless
deleted file mode 100644
index 93d560b..0000000
--- a/abs/core/less/zless
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-: ${PAGER=less}
-export PAGER
-
-PATH="/usr/bin:$PATH"
-export PATH
-
-exec zmore ${1+"$@"}