summaryrefslogtreecommitdiff
path: root/Ports/nano
diff options
context:
space:
mode:
authorEmanuel Sprung <emanuel.sprung@gmail.com>2020-02-04 01:11:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 14:06:23 +0100
commitf46d80ac4fc2d9c4d3da9baf5515d2af9c577596 (patch)
tree2e0ad4da9691ebb725851756ac7f670309f1c17c /Ports/nano
parent991953ab0a957484ca1333de466374952381d1b2 (diff)
downloadserenity-f46d80ac4fc2d9c4d3da9baf5515d2af9c577596.zip
Ports: Added checksums / signature files and other fixes
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
Diffstat (limited to 'Ports/nano')
-rwxr-xr-xPorts/nano/package.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/Ports/nano/package.sh b/Ports/nano/package.sh
index 394a00e2e0..9584953e8e 100755
--- a/Ports/nano/package.sh
+++ b/Ports/nano/package.sh
@@ -1,11 +1,14 @@
#!/bin/bash ../.port_include.sh
port=nano
version=4.5
-workdir=nano-4.5
useconfigure="true"
-curlopts="-L"
-files="https://www.nano-editor.org/dist/v4/nano-4.5.tar.xz nano-4.5.tar.xz"
+files="https://www.nano-editor.org/dist/v4/nano-${version}.tar.xz nano-${version}.tar.xz
+https://www.nano-editor.org/dist/v4/nano-${version}.tar.xz.asc nano-${version}.tar.xz.asc"
configopts="--target=i686-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_ROOT}/Root/usr/local/include/ncurses
+export PKG_CONFIG_PATH=${SERENITY_ROOT}/Root/usr/local/lib/pkgconfig