summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-02-01 05:37:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-03 04:33:17 +0700
commit5b6e0456da4f280563605dec82a1f89c62f77b47 (patch)
tree0c8a7f39c9c236f0d1f6299132cd044a0e14be8f /ruby
parent6d5165e38403bc33806dd16188bbf46c8213dfd8 (diff)
downloadslackbuilds-5b6e0456da4f280563605dec82a1f89c62f77b47.tar.gz
ruby/ruby-haste: Updated for version 0.2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r--ruby/ruby-haste/ruby-haste.SlackBuild14
-rw-r--r--ruby/ruby-haste/ruby-haste.info6
2 files changed, 12 insertions, 8 deletions
diff --git a/ruby/ruby-haste/ruby-haste.SlackBuild b/ruby/ruby-haste/ruby-haste.SlackBuild
index 4e99681957..372e390816 100644
--- a/ruby/ruby-haste/ruby-haste.SlackBuild
+++ b/ruby/ruby-haste/ruby-haste.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ruby-haste.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
PRGNAM=ruby-haste
SRCNAM=haste
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -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
diff --git a/ruby/ruby-haste/ruby-haste.info b/ruby/ruby-haste/ruby-haste.info
index d4874f07e9..ac1256804c 100644
--- a/ruby/ruby-haste/ruby-haste.info
+++ b/ruby/ruby-haste/ruby-haste.info
@@ -1,8 +1,8 @@
PRGNAM="ruby-haste"
-VERSION="0.2.1"
+VERSION="0.2.2"
HOMEPAGE="https://rubygems.org/gems/haste"
-DOWNLOAD="https://rubygems.org/downloads/haste-0.2.1.gem"
-MD5SUM="c3f5b8476016c2d92d83b661b9b125a9"
+DOWNLOAD="https://rubygems.org/downloads/haste-0.2.2.gem"
+MD5SUM="0d9cfaa9f81bf1feddc8abe50e398d7d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ruby-faraday ruby-json"