summaryrefslogtreecommitdiff
path: root/core/less/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/less/PKGBUILD')
-rw-r--r--core/less/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/less/PKGBUILD b/core/less/PKGBUILD
index 785e64aa1..78d1a17d9 100644
--- a/core/less/PKGBUILD
+++ b/core/less/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 119700 2011-04-13 21:50:08Z allan $
+# $Id: PKGBUILD 125524 2011-05-26 14:15:10Z stephane $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=less
pkgver=443
-pkgrel=1
+pkgrel=2
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
arch=('i686' 'x86_64' 'mips64el')
@@ -17,14 +17,14 @@ md5sums=('47db098fb3cdaf847b3c4be05ee954fc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --with-regex=pcre
+ ./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
+ make prefix="${pkgdir}"/usr install
+ install -dm755 "${pkgdir}"/bin
+ mv "${pkgdir}"/usr/bin/${pkgname} "${pkgdir}"/bin
}