aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-16 17:23:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-16 17:23:13 +0700
commitc623239d36243be4c09b92f00e15fcfcca1c0b6c (patch)
tree83b3d7d1d4dfea02a18bfd8fb005eb2bb2d4edef /network
parentea159bae276842a618a2cd3961b97db110881dd7 (diff)
network/httpie: Fix script path and tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/httpie/httpie.SlackBuild10
-rw-r--r--network/httpie/httpie.info2
2 files changed, 3 insertions, 9 deletions
diff --git a/network/httpie/httpie.SlackBuild b/network/httpie/httpie.SlackBuild
index 2219a725f2a78..94161bca25774 100644
--- a/network/httpie/httpie.SlackBuild
+++ b/network/httpie/httpie.SlackBuild
@@ -49,8 +49,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $SRCNAME-$VERSION
+tar xvf $CWD/$SRCNAME-$VERSION.tar.gz
cd $SRCNAME-$VERSION
chown -R root:root .
find -L . \
@@ -64,12 +64,6 @@ python3 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man
rmdir $PKG/usr/share
-# A package compiled in a 64-bit system should be installable
-# on any other architecture.
-if [ -d $PKG/usr/lib64 ]; then
- mv $PKG/usr/lib64 $PKG/usr/lib
-fi
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/network/httpie/httpie.info b/network/httpie/httpie.info
index 937a997089590..e717eb56f5613 100644
--- a/network/httpie/httpie.info
+++ b/network/httpie/httpie.info
@@ -1,7 +1,7 @@
PRGNAM="httpie"
VERSION="3.2.2"
HOMEPAGE="https://httpie.io"
-DOWNLOAD="https://github.com/httpie/httpie/archive/3.2.2/httpie-3.2.2.tar.gz"
+DOWNLOAD="https://github.com/httpie/cli/archive/3.2.2/cli-3.2.2.tar.gz"
MD5SUM="fd08e0001da0781a2f7038ea38ac8d08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""