From 4ba9c52641bd83bd71526e540ba282e11829423c Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sun, 11 Dec 2016 11:59:47 +0200 Subject: t/12-readme, etc: add tests for displaying other readme files. See #49. --- t/LO-readme/otherreadmes/otherreadmes.SlackBuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 t/LO-readme/otherreadmes/otherreadmes.SlackBuild (limited to 't/LO-readme/otherreadmes/otherreadmes.SlackBuild') 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 -- cgit v1.2.3