summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/less
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/less
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/less')
-rw-r--r--abs/core-testing/less/PKGBUILD23
-rw-r--r--abs/core-testing/less/zless9
2 files changed, 32 insertions, 0 deletions
diff --git a/abs/core-testing/less/PKGBUILD b/abs/core-testing/less/PKGBUILD
new file mode 100644
index 0000000..b703def
--- /dev/null
+++ b/abs/core-testing/less/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=less
+pkgver=418
+pkgrel=10
+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' 'file')
+source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('b5864d76c54ddf4627fd57ab333c88b4')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make prefix=$startdir/pkg/usr install
+ cd $startdir/pkg/usr/bin/
+ mkdir -p ../../bin
+ mv $pkgname ../../bin/
+}
diff --git a/abs/core-testing/less/zless b/abs/core-testing/less/zless
new file mode 100644
index 0000000..93d560b
--- /dev/null
+++ b/abs/core-testing/less/zless
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+: ${PAGER=less}
+export PAGER
+
+PATH="/usr/bin:$PATH"
+export PATH
+
+exec zmore ${1+"$@"}