diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:49:37 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:49:37 (GMT) |
commit | 06f76f9b4124ad3c895a83093213f5b6be0869aa (patch) | |
tree | 070a6b4a0c473d78aba6b85c7800541a7027e01f /abs/core/less | |
parent | c18e39d1c930dc1fd079c9fc39f6bc01621695bd (diff) | |
download | linhes_pkgbuild-06f76f9b4124ad3c895a83093213f5b6be0869aa.zip linhes_pkgbuild-06f76f9b4124ad3c895a83093213f5b6be0869aa.tar.gz linhes_pkgbuild-06f76f9b4124ad3c895a83093213f5b6be0869aa.tar.bz2 |
less: upgrade
Diffstat (limited to 'abs/core/less')
-rw-r--r-- | abs/core/less/PKGBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/abs/core/less/PKGBUILD b/abs/core/less/PKGBUILD index 28cbe39..a83ec60 100644 --- a/abs/core/less/PKGBUILD +++ b/abs/core/less/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 47851 2009-07-28 09:48:01Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=less -pkgver=418 -pkgrel=12 +pkgver=436 +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' 'file') +depends=('ncurses') source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('b5864d76c54ddf4627fd57ab333c88b4') +md5sums=('817bf051953ad2dea825a1cdf460caa4') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$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/ +} +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + install -dm755 $pkgdir/bin + mv $pkgdir/usr/bin/$pkgname $pkgdir/bin/ } |