summaryrefslogtreecommitdiff
path: root/libraries/stfl
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2015-02-15 15:39:04 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-21 09:03:49 +0700
commitcfcbca8e32afea732557ee60415bd51683648a79 (patch)
treea092a76018d0b307fa2327571bdbaa067ca2c092 /libraries/stfl
parentd5c9c683762177c07ab67bdb1058724fe4f81d46 (diff)
downloadslackbuilds-cfcbca8e32afea732557ee60415bd51683648a79.tar.gz
libraries/stfl: Fix misplaced example file.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'libraries/stfl')
-rw-r--r--libraries/stfl/stfl.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/stfl/stfl.SlackBuild b/libraries/stfl/stfl.SlackBuild
index 7335d1e3b2..ae3d4649f0 100644
--- a/libraries/stfl/stfl.SlackBuild
+++ b/libraries/stfl/stfl.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=stfl
VERSION=${VERSION:-0.24}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,7 +71,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# make installs an example for perl in the lib path
-rm $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/example.pl
+rm $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/example*.pl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -80,7 +80,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# install all examples into the doc directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a \
- example.{c,stfl} perl5/example.pl python/example.* ruby/example.rb spl/*.spl \
+ example.{c,stfl} perl5/example*.pl python/example.* ruby/example.rb spl/*.spl \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
mkdir -p $PKG/install