mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/jq: Update for 1.7.1 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
84c2f53b46
commit
bad18acc30
3 changed files with 13 additions and 19 deletions
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for jq
|
||||
|
||||
# Copyright 2015, 2018 Gary Herreman <gary@garyrh.com>
|
||||
# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,8 +26,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=jq
|
||||
VERSION=${VERSION:-1.6}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-1.7.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -97,15 +95,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
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
|
||||
|
||||
# Put docs into proper directory.
|
||||
mv $PKG/usr/share/doc $PKG/usr
|
||||
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rmdir $PKG/usr/share
|
||||
|
||||
cp -a ChangeLog KEYS NEWS docs/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING NEWS.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
# Address sbopkglint gripes
|
||||
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.{la,a}
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="jq"
|
||||
VERSION="1.6"
|
||||
HOMEPAGE="https://stedolan.github.io/jq/"
|
||||
DOWNLOAD="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz"
|
||||
MD5SUM="e68fbd6a992e36f1ac48c99bbf825d6b"
|
||||
VERSION="1.7.1"
|
||||
HOMEPAGE="https://jqlang.github.io/jq/"
|
||||
DOWNLOAD="https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-1.7.1.tar.gz"
|
||||
MD5SUM="974a340105ecb43add8c55601525f9fc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Gary Herreman"
|
||||
EMAIL="gary@garyrh.com"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu@protonmail.com"
|
||||
|
|
|
@ -14,6 +14,6 @@ jq: jq is like sed for JSON data - you can use it to slice and filter
|
|||
jq: and map and transform structured data with the same ease that
|
||||
jq: sed, awk, grep and friends let you play with text.
|
||||
jq:
|
||||
jq: Homepage: https://stedolan.github.io/jq/
|
||||
jq: Homepage: https://jqlang.github.io/jq/
|
||||
jq:
|
||||
jq:
|
||||
|
|
Loading…
Reference in a new issue