aboutsummaryrefslogtreecommitdiff
path: root/extra/prout/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-08 18:20:31 +0300
committerCem Keylan <cem@ckyln.com>2020-05-08 18:20:31 +0300
commitf0b40387747f876be2a13c05bc4fd6783a842494 (patch)
tree549461afc787d25f945ba29ad4e04789f51c6ac1 /extra/prout/build
parent4df31eacf418f4ac8ce746b667b265d9546626a4 (diff)
downloadrepository-f0b40387747f876be2a13c05bc4fd6783a842494.tar.gz
prout: add new package at git
Diffstat (limited to 'extra/prout/build')
-rwxr-xr-xextra/prout/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/prout/build b/extra/prout/build
new file mode 100755
index 00000000..2b6bbb70
--- /dev/null
+++ b/extra/prout/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# Makefile has some issues so we are
+# building manually.
+
+# We want wordsplitting here
+# shellcheck disable=2086
+${CC:-cc} -lcups ${CFLAGS} ${LDFLAGS} prout.c -o prout
+
+install -Dm755 prout "$1/usr/bin/prout"
+install -Dm644 prout.1 "$1/usr/share/man/man1/prout.1"