aboutsummaryrefslogtreecommitdiff
path: root/network/httpie/httpie.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/httpie/httpie.SlackBuild')
-rw-r--r--network/httpie/httpie.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/httpie/httpie.SlackBuild b/network/httpie/httpie.SlackBuild
index eab5b0bcfd..2219a725f2 100644
--- a/network/httpie/httpie.SlackBuild
+++ b/network/httpie/httpie.SlackBuild
@@ -27,11 +27,14 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=httpie
VERSION=${VERSION:-3.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
+# Thanks to Alan Alberghini for pointing this out
+SRCNAME=cli
+
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -48,7 +51,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $SRCNAME-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \