repo/extra/pkgconf/build
2021-07-06 13:39:28 +03:00

14 lines
206 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR="$1" install
ln -s pkgconf "$1/usr/bin/pkg-config"
# Remove documentation (README, etc).
rm -rf "$1/usr/share/doc"