aboutsummaryrefslogtreecommitdiff
path: root/testing/cpt/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-12 21:37:11 +0300
committerCem Keylan <cem@ckyln.com>2021-03-12 21:37:11 +0300
commitaa27c454ea76eb2fe945edab437c735710290497 (patch)
treec283cc50a1bf1afbcfd15869bb3c69287c285aa5 /testing/cpt/build
parent475b9684e72914b8fd2ea7c991e2e809c8982651 (diff)
downloadrepository-aa27c454ea76eb2fe945edab437c735710290497.tar.gz
cpt: add new package at 5.1.2 [TESTING]
Diffstat (limited to 'testing/cpt/build')
-rwxr-xr-xtesting/cpt/build9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/cpt/build b/testing/cpt/build
new file mode 100755
index 00000000..7c0d36f6
--- /dev/null
+++ b/testing/cpt/build
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+docs=$(./src/cpt-list --check texinfo yes no)
+make PREFIX=/usr "DOCS=$docs" DESTDIR="$1" install
+
+install -Dm644 cpt-base "$1/etc/cpt-base"
+install -Dm755 news "$1/usr/bin/cpt-news"
+
+install -Dm755 src/cpt "$1/usr/bin/cpt"