summaryrefslogtreecommitdiff
path: root/Ports/flex/package.sh
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/flex/package.sh
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/flex/package.sh')
-rwxr-xr-xPorts/flex/package.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/Ports/flex/package.sh b/Ports/flex/package.sh
index 912aec5a63..34f28bd084 100755
--- a/Ports/flex/package.sh
+++ b/Ports/flex/package.sh
@@ -1,8 +1,11 @@
#!/bin/bash ../.port_include.sh
port=flex
version=2.6.4
-curlopts="-L"
-files="https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz flex-2.6.4.tar.gz"
+files="https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz
+https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz.sig flex-${version}.tar.gz.sig"
useconfigure=true
configopts=--disable-bootstrap
depends="m4 pcre2"
+auth_type="sig"
+auth_import_key="E4B29C8D64885307"
+auth_opts="flex-${version}.tar.gz.sig"