mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
ruby/rubygem-parser: Updated for version 3.0.2.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
946c156166
commit
3beefe207f
2 changed files with 8 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for rubygem-parser
|
# Slackware build script for rubygem-parser
|
||||||
|
|
||||||
# Copyright 2018-2020 Andrew Clemons, Wellington New Zealand
|
# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=rubygem-parser
|
PRGNAM=rubygem-parser
|
||||||
VERSION=${VERSION:-2.7.2.0}
|
VERSION=${VERSION:-3.0.2.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -114,6 +114,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
|
||||||
|
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
|
||||||
|
LICENSE.txt
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="rubygem-parser"
|
PRGNAM="rubygem-parser"
|
||||||
VERSION="2.7.2.0"
|
VERSION="3.0.2.0"
|
||||||
HOMEPAGE="https://github.com/whitequark/parser"
|
HOMEPAGE="https://github.com/whitequark/parser"
|
||||||
DOWNLOAD="https://rubygems.org/downloads/parser-2.7.2.0.gem"
|
DOWNLOAD="https://rubygems.org/downloads/parser-3.0.2.0.gem"
|
||||||
MD5SUM="fbf1640132d6b96166eddcf70e36b722"
|
MD5SUM="a63cf411d1bea736d1959d2ede7fbc4e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="rubygem-ast"
|
REQUIRES="rubygem-ast"
|
||||||
|
|
Loading…
Reference in a new issue