[arch-commits] Commit in less/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Mon Apr 13 00:56:11 EDT 2009


    Date: Monday, April 13, 2009 @ 00:56:11
  Author: allan
Revision: 35388

upgpkg: less 429-1

Modified:
  less/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-13 03:06:31 UTC (rev 35387)
+++ PKGBUILD	2009-04-13 04:56:11 UTC (rev 35388)
@@ -1,23 +1,24 @@
 # $Id$
-# Maintainer: judd <jvinet at zeroflux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
 pkgname=less
-pkgver=418
+pkgver=429
 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=('206f2f13b9b0a35e45df660fcb6af31d')
 
 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/
+  make prefix=$pkgdir/usr install
+  install -dm755 $pkgdir/bin
+  mv $pkgdir/usr/bin/$pkgname $pkgdir/bin/
 }



More information about the arch-commits mailing list