ladybird/Ports/pkgconf/package.sh
EWouters 50758181a3 Ports: Update formatting to be consistent with other ports
This commit updates the formatting for all ports to be updated in this
PR in one go, to keep those changes centralized.
2023-10-12 23:30:22 +02:00

19 lines
609 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='pkgconf'
version='1.8.0'
files=(
"https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz#ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf"
)
useconfigure='true'
use_fresh_config_sub='true'
# FIXME: This looks suspiciously host-y...
configopts=(
'--prefix=/usr/local'
'--with-pkg-config-dir=/usr/local/lib/pkgconfig'
)
post_install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/bin"
# FIXME: Same here, what is this about?!
run ln -sf /usr/local/bin/pkgconf "${SERENITY_INSTALL_ROOT}/usr/local/bin/pkg-config"
}