summaryrefslogtreecommitdiffstats
path: root/abs/core/less/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:51:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:51:25 (GMT)
commitaa076f2103fe1689b9504a2472fc40ecd0dbd506 (patch)
treefa44ab2bfb1f7177b0998c6dc774ff0d9de301b9 /abs/core/less/PKGBUILD
parenta4fe65f8d512461e8c3bdc462380a43705f9b7e3 (diff)
downloadlinhes_pkgbuild-aa076f2103fe1689b9504a2472fc40ecd0dbd506.zip
linhes_pkgbuild-aa076f2103fe1689b9504a2472fc40ecd0dbd506.tar.gz
linhes_pkgbuild-aa076f2103fe1689b9504a2472fc40ecd0dbd506.tar.bz2
less 444
Diffstat (limited to 'abs/core/less/PKGBUILD')
-rw-r--r--abs/core/less/PKGBUILD28
1 files changed, 15 insertions, 13 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
}