aboutsummaryrefslogtreecommitdiffstats
path: root/main/pkgconf
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-02-26 00:19:50 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-02-26 00:20:09 +0100
commit1b6abd1c5d9a803e4b1dda9293b65f4f1a9316fd (patch)
treef16b7fed3fe10712eee5e8569bc5c96ec44c7ede /main/pkgconf
parent212c47733d382b59e107bf47947087084d241902 (diff)
downloadaports-1b6abd1c5d9a803e4b1dda9293b65f4f1a9316fd.tar.bz2
aports-1b6abd1c5d9a803e4b1dda9293b65f4f1a9316fd.tar.xz
main/pkgconf: improve abuild
Diffstat (limited to 'main/pkgconf')
-rw-r--r--main/pkgconf/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/main/pkgconf/APKBUILD b/main/pkgconf/APKBUILD
index 190a00c2b4..fa9e4494f5 100644
--- a/main/pkgconf/APKBUILD
+++ b/main/pkgconf/APKBUILD
@@ -7,17 +7,12 @@ pkgdesc="development framework configuration tools"
url="https://github.com/pkgconf/pkgconf"
arch="all"
license="ISC"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
replaces="pkgconfig"
provides="pkgconfig=1"
source="https://distfiles.dereferenced.org/pkgconf/pkgconf-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-dev"
checkdepends="kyua atf"
-
-builddir="$srcdir"/pkgconf-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
@@ -40,7 +35,7 @@ check() {
package() {
cd "$builddir"
- mkdir -p "$pkgdir"/usr/bin
+
make DESTDIR="$pkgdir" install || return 1
ln -s pkgconf "$pkgdir"/usr/bin/pkg-config
}