aboutsummaryrefslogtreecommitdiffstats
path: root/main/less/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/less/APKBUILD')
-rw-r--r--main/less/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/less/APKBUILD b/main/less/APKBUILD
index 188a7b91ca..7508a25fa7 100644
--- a/main/less/APKBUILD
+++ b/main/less/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=436
-pkgrel=0
+pkgrel=1
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
license="GPL"
-depends="uclibc ncurses"
+depends=
makedepends="ncurses-dev"
install="$pkgname.post-deinstall"
subpackages="$pkgname-doc"
@@ -15,12 +15,15 @@ source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
-
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}