serenity/Ports/indent/package.sh
Tim Schumacher c07f91474d Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
2021-10-05 02:13:08 +02:00

16 lines
583 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=indent
version=2.2.11
files="https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz.sig indent-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
useconfigure=true
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "indent-${version}.tar.gz.sig")
post_install() {
man_dir="${SERENITY_INSTALL_ROOT}/usr/local/share/man/man1/"
run mkdir -p "${man_dir}"
run cp man/indent.1 "${man_dir}"
}