diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-03 00:06:59 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-03 00:06:59 +0200 |
commit | 9f76e39ed86b0aaa0994e19748c56180963003fb (patch) | |
tree | 9f91c1a0da21f845ee989cd301b8c26f13b26cc9 /t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild | |
parent | e7940430151bbe31ca3e6563b7dd27a54429fa97 (diff) | |
download | sbotools2-9f76e39ed86b0aaa0994e19748c56180963003fb.tar.xz |
04-install.t: Add tests for perl sbos
Diffstat (limited to 't/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild')
-rw-r--r-- | t/LO/perl-nonexistentcpan/perl-nonexistentcpan.SlackBuild | 15 |
1 files changed, 15 insertions, 0 deletions
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 |