diff options
Diffstat (limited to 'testing/less/PKGBUILD')
-rw-r--r-- | testing/less/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/less/PKGBUILD b/testing/less/PKGBUILD new file mode 100644 index 000000000..b5c8f869d --- /dev/null +++ b/testing/less/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 166186 2012-09-05 10:54:45Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=less +pkgver=451 +pkgrel=1 +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' 'pcre') +source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) +md5sums=('765f082658002b2b46b86af4a0da1842' + 'a5493f4598ba7c9f81782683f3c27119') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make prefix="${pkgdir}"/usr install +} |