aboutsummaryrefslogtreecommitdiff
path: root/t/LO-R/R
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2019-04-28 00:51:37 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2019-04-28 00:59:00 +0200
commitea1aca5c9c4eec40eabb2fe273303d7b330ae613 (patch)
tree71aa84edec6b1cfa1eb25ca8003186f1e14f0bd7 /t/LO-R/R
parent7fcae080e22e9929f874d337b26986f84999c8e2 (diff)
downloadsbotools-ea1aca5c9c4eec40eabb2fe273303d7b330ae613.tar.xz
sbofind: really fix exact matches
Closes #71.
Diffstat (limited to 't/LO-R/R')
-rw-r--r--t/LO-R/R/R.SlackBuild15
-rw-r--r--t/LO-R/R/R.info10
-rw-r--r--t/LO-R/R/README1
3 files changed, 26 insertions, 0 deletions
diff --git a/t/LO-R/R/R.SlackBuild b/t/LO-R/R/R.SlackBuild
new file mode 100644
index 0000000..0ba406f
--- /dev/null
+++ b/t/LO-R/R/R.SlackBuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+PRGNAM="R"
+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
diff --git a/t/LO-R/R/R.info b/t/LO-R/R/R.info
new file mode 100644
index 0000000..bfd1964
--- /dev/null
+++ b/t/LO-R/R/R.info
@@ -0,0 +1,10 @@
+PRGNAM="R"
+VERSION="1.0"
+HOMEPAGE="http://www.example.com"
+DOWNLOAD="http://pink-mist.github.io/sbotools/testing/perf.dummy"
+MD5SUM="9cba6c70fb57a22a155073d54748b614"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andreas Guldstrand"
+EMAIL="doesnt@matter.org"
diff --git a/t/LO-R/R/README b/t/LO-R/R/README
new file mode 100644
index 0000000..6d388bb
--- /dev/null
+++ b/t/LO-R/R/README
@@ -0,0 +1 @@
+This doesn't exist!