aboutsummaryrefslogtreecommitdiff
path: root/network/feedparser/feedparser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/feedparser/feedparser.SlackBuild')
-rw-r--r--network/feedparser/feedparser.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/feedparser/feedparser.SlackBuild b/network/feedparser/feedparser.SlackBuild
index f92d8f867b6c..409735929135 100644
--- a/network/feedparser/feedparser.SlackBuild
+++ b/network/feedparser/feedparser.SlackBuild
@@ -27,6 +27,7 @@ VERSION=4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -64,8 +65,10 @@ python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -77,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}