mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/stfl: Fix misplaced example file.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
d5c9c68376
commit
cfcbca8e32
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PRGNAM=stfl
|
PRGNAM=stfl
|
||||||
VERSION=${VERSION:-0.24}
|
VERSION=${VERSION:-0.24}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
# make installs an example for perl in the lib path
|
# 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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a COPYING README $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
|
# install all examples into the doc directory
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
|
||||||
cp -a \
|
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
|
$PKG/usr/doc/$PRGNAM-$VERSION/examples
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
Loading…
Reference in a new issue