diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-03 01:14:23 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-03 01:14:51 +0200 |
commit | 5a65fddad7fc2abbd2e0ff12bc03e101dd64f9d8 (patch) | |
tree | 68e388a2d41cc7a7170bad1f6e66bb6e8cec8d34 /main | |
parent | 6051f9e6322f487cf620998f782970ae6f2150e0 (diff) | |
download | aports-5a65fddad7fc2abbd2e0ff12bc03e101dd64f9d8.tar.bz2 aports-5a65fddad7fc2abbd2e0ff12bc03e101dd64f9d8.tar.xz |
main/less: improve abuild
Diffstat (limited to 'main')
-rw-r--r-- | main/less/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/less/APKBUILD b/main/less/APKBUILD index 5674f237a3..9d43dfac2d 100644 --- a/main/less/APKBUILD +++ b/main/less/APKBUILD @@ -7,20 +7,20 @@ pkgdesc="File pager" url="http://www.greenwoodsoftware.com/less/" arch="all" license="GPL" -depends="" makedepends="ncurses-dev" -install="" subpackages="$pkgname-doc" source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz" - +builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$srcdir/$pkgname-$pkgver" + default_prepare || return 1 + + cd "$builddir" chmod +x configure } build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,7 +33,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$builddir" make DESTDIR="$pkgdir" install } |