summaryrefslogtreecommitdiff
path: root/system/pkgconf/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 17:27:45 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 17:27:45 -0500
commitb7c1783e11101b34e7014a1bcdfd41f9673a6a10 (patch)
tree8392792a1fdfbd56c679ab4f2f7c79a3ae31084b /system/pkgconf/APKBUILD
parentd1a2d50c2412b7d00368d0dd782ec377d82aecdd (diff)
downloadpackages-b7c1783e11101b34e7014a1bcdfd41f9673a6a10.tar.gz
packages-b7c1783e11101b34e7014a1bcdfd41f9673a6a10.tar.bz2
packages-b7c1783e11101b34e7014a1bcdfd41f9673a6a10.tar.xz
packages-b7c1783e11101b34e7014a1bcdfd41f9673a6a10.zip
system/pkgconf: update URL, modernise
Diffstat (limited to 'system/pkgconf/APKBUILD')
-rw-r--r--system/pkgconf/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/pkgconf/APKBUILD b/system/pkgconf/APKBUILD
index d628f99af..02c8604d6 100644
--- a/system/pkgconf/APKBUILD
+++ b/system/pkgconf/APKBUILD
@@ -3,7 +3,7 @@ pkgname=pkgconf
pkgver=1.5.0
pkgrel=0
pkgdesc="development framework configuration tools"
-url="https://github.com/pkgconf/pkgconf"
+url="https://git.dereferenced.org/pkgconf/pkgconf/"
arch="all"
license="ISC"
replaces="pkgconfig"
@@ -23,25 +23,24 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig \
- || return 1
- make || return 1
+ --with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
+ make
}
check() {
cd "$builddir"
- make check || return 1
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
ln -s pkgconf "$pkgdir"/usr/bin/pkg-config
}
dev() {
- default_dev || return 1
+ default_dev
# Move pkg-config back to main package (default_dev implicitly moves
# files /usr/bin/*-config to -dev).