summaryrefslogtreecommitdiff
path: root/Ports/imgcat/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/imgcat/package.sh')
-rwxr-xr-xPorts/imgcat/package.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/Ports/imgcat/package.sh b/Ports/imgcat/package.sh
index 0221a9690b..a4d201f012 100755
--- a/Ports/imgcat/package.sh
+++ b/Ports/imgcat/package.sh
@@ -1,8 +1,13 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=imgcat
version=2.5.0
-useconfigure=false
-files="https://github.com/eddieantonio/imgcat/releases/download/v${version}/imgcat-${version}.tar.gz imgcat-v${version}.tar.gz 1b5d45ccafc6fbb7a7ee685d4a5110101418d48b"
+depends="ncurses"
+files="https://github.com/eddieantonio/imgcat/releases/download/v${version}/imgcat-${version}.tar.gz imgcat-v${version}.tar.gz 16e5386f5ce2237643785e7c8bb2cfce"
auth_type=md5
-depends="ncurses"
+build() {
+ run make \
+ production=true
+}
+
+export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"