summaryrefslogtreecommitdiff
path: root/Ports/nano/package.sh
blob: 1898df62f07debffd8ad26989965e752926a0478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env -S bash ../.port_include.sh
port=nano
version=5.8
useconfigure="true"
files="https://www.nano-editor.org/dist/v5/nano-${version}.tar.xz nano-${version}.tar.xz
https://www.nano-editor.org/dist/v5/nano-${version}.tar.xz.asc nano-${version}.tar.xz.asc"
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--disable-browser" "--disable-utf8")
depends=("ncurses")
auth_type="sig"
auth_import_key="BFD009061E535052AD0DF2150D28D4D2A0ACE884"
auth_opts=("nano-${version}.tar.xz.asc" "nano-${version}.tar.xz")

export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"
export PKG_CONFIG_PATH="${SERENITY_INSTALL_ROOT}/usr/local/lib/pkgconfig"