mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
ruby/ruby-gist: Minor SlackBuild changes.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
7eba1da598
commit
f4fde17b62
1 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Slackware build script for ruby-gist.
|
||||
#
|
||||
# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
PRGNAM=ruby-gist
|
||||
SRCNAM=gist
|
||||
VERSION=${VERSION:-4.5.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -60,6 +60,7 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
@ -110,6 +111,9 @@ gem install \
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
rm -rf $PKG/$DESTDIR/cache
|
||||
rmdir $PKG/$DESTDIR/{build_info,extensions}
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
Loading…
Reference in a new issue