aboutsummaryrefslogtreecommitdiff
path: root/t/LO-R/bar/bar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 't/LO-R/bar/bar.SlackBuild')
-rw-r--r--t/LO-R/bar/bar.SlackBuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/LO-R/bar/bar.SlackBuild b/t/LO-R/bar/bar.SlackBuild
new file mode 100644
index 0000000..f73714a
--- /dev/null
+++ b/t/LO-R/bar/bar.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="bar"
+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