network/httpie: Fix script path and tarball.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2023-10-16 17:23:13 +07:00
parent ea159bae27
commit c623239d36
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 9 deletions

View file

@ -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

View file

@ -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=""