mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +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
|
||||
|
||||
# Copyright 2018-2020 Andrew Clemons, Wellington New Zealand
|
||||
# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=rubygem-parser
|
||||
VERSION=${VERSION:-2.7.2.0}
|
||||
VERSION=${VERSION:-3.0.2.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="rubygem-parser"
|
||||
VERSION="2.7.2.0"
|
||||
VERSION="3.0.2.0"
|
||||
HOMEPAGE="https://github.com/whitequark/parser"
|
||||
DOWNLOAD="https://rubygems.org/downloads/parser-2.7.2.0.gem"
|
||||
MD5SUM="fbf1640132d6b96166eddcf70e36b722"
|
||||
DOWNLOAD="https://rubygems.org/downloads/parser-3.0.2.0.gem"
|
||||
MD5SUM="a63cf411d1bea736d1959d2ede7fbc4e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="rubygem-ast"
|
||||
|
|
Loading…
Reference in a new issue