diff options
author | root <root@rshg047.dnsready.net> | 2011-06-26 23:06:14 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-26 23:06:14 +0000 |
commit | 715631caf52784c47c8ed3aeb6cbdba2715a08db (patch) | |
tree | d1923d66cba8dcf90112f81ca31009202cff25a3 /testing/less/PKGBUILD | |
parent | 8999fa1750304fb2367fb7743e49e013405e88be (diff) |
Sun Jun 26 23:06:14 UTC 2011
Diffstat (limited to 'testing/less/PKGBUILD')
-rw-r--r-- | testing/less/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/less/PKGBUILD b/testing/less/PKGBUILD new file mode 100644 index 000000000..36b928066 --- /dev/null +++ b/testing/less/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 128667 2011-06-25 12:14:07Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=less +pkgver=444 +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) +md5sums=('56f9f76ffe13f70155f47f6b3c87d421') + +build() { + 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 +} |