aboutsummaryrefslogtreecommitdiff
path: root/t/LO-readme/otherreadmes/otherreadmes.SlackBuild
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-11 11:59:47 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-11 11:59:47 +0200
commit4ba9c52641bd83bd71526e540ba282e11829423c (patch)
treef42c41bb5d17fb4588323b4e9c895edb336562c2 /t/LO-readme/otherreadmes/otherreadmes.SlackBuild
parent35f3afdbdea49b9b6da3431022a50b94a47ec912 (diff)
downloadsbotools2-4ba9c52641bd83bd71526e540ba282e11829423c.tar.xz
t/12-readme, etc: add tests for displaying other readme files. See #49.
Diffstat (limited to 't/LO-readme/otherreadmes/otherreadmes.SlackBuild')
-rw-r--r--t/LO-readme/otherreadmes/otherreadmes.SlackBuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/LO-readme/otherreadmes/otherreadmes.SlackBuild b/t/LO-readme/otherreadmes/otherreadmes.SlackBuild
new file mode 100644
index 0000000..4466ded
--- /dev/null
+++ b/t/LO-readme/otherreadmes/otherreadmes.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="otherreadmes"
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+TMP=${TMP:-/tmp/SBo}
+OUTPUT=${OUTPUT:-/tmp}
+
+mkdir -p $TMP/$PRGNAM-$VERSION
+cp README $TMP/$PRGNAM-$VERSION
+mkdir -p $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
+cp README $OUTPUT/package-$PRGNAM/usr/doc/$PRGNAM-$VERSION
+cd $OUTPUT/package-$PRGNAM
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.tgz