Added /share/pkgconfig as an alternate lookup path in addition to --docdir in base/pkgconf

This commit is contained in:
PktSurf 2023-04-02 09:10:24 +05:30
parent cdaaa1dde8
commit 45473795cd

View file

@ -1,6 +1,6 @@
app=pkgconf
version=1.7.3
build=2sml
build=3sml
homepage="https://git.sr.ht/~kaniini/pkgconf"
download="https://distfiles.dereferenced.org/pkgconf/pkgconf-$version.tar.xz"
desc="Drop-in replacement for the bloated pkg-config utility"
@ -18,8 +18,9 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-static \
--with-pkg-config-dir=/lib/pkgconfig
--with-pkg-config-dir="/lib/pkgconfig:/share/pkgconfig"
make
make install DESTDIR=$pkg