From 9f76e39ed86b0aaa0994e19748c56180963003fb Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 3 May 2016 00:06:59 +0200 Subject: 04-install.t: Add tests for perl sbos --- t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild (limited to 't/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild') diff --git a/t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild b/t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild new file mode 100644 index 0000000..5cd713d --- /dev/null +++ b/t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild @@ -0,0 +1,15 @@ +#!/bin/bash +PRGNAM="perl-nonexistentcpan" +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