summaryrefslogtreecommitdiffstats
path: root/main/less
diff options
context:
space:
mode:
Diffstat (limited to 'main/less')
-rw-r--r--main/less/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/less/APKBUILD b/main/less/APKBUILD
index 188a7b91c..8fdbb2734 100644
--- a/main/less/APKBUILD
+++ b/main/less/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
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
}