summaryrefslogtreecommitdiff
path: root/Ports/imgcat
diff options
context:
space:
mode:
authorPanagiotis Vasilopoulos <hello@alwayslivid.com>2021-04-18 12:38:23 +0300
committerLinus Groh <mail@linusgroh.de>2021-04-20 17:32:10 +0200
commit139288b071098fc0e2127800e4b18194a8f4035b (patch)
treee946d72f72c7ab84bd46c7c742c0fde29f78b9cd /Ports/imgcat
parent2d62cf8b79d9281bd8a66beb330f8480a37c02d6 (diff)
downloadserenity-139288b071098fc0e2127800e4b18194a8f4035b.zip
Ports: Fix up imgcat
Diffstat (limited to 'Ports/imgcat')
-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"