summaryrefslogtreecommitdiffstats
path: root/system/stow/stow.SlackBuild
diff options
context:
space:
mode:
author Pedro R.M. Júnior2019-07-23 05:59:58 +0200
committer Willy Sudiarto Raharjo2019-07-27 03:06:16 +0200
commita01fabd94fa8de4990dc92bfb911f69fb988210a (patch)
tree7adc10df906ea93bb2bbb08d6d7273c80899724f /system/stow/stow.SlackBuild
parente1e07626c9c0a1a8211e7de5b4b2001a9249abdd (diff)
downloadslackbuilds-a01fabd94fa8de4990dc92bfb911f69fb988210a.tar.gz
system/stow: Updated for version 2.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/stow/stow.SlackBuild')
-rw-r--r--system/stow/stow.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/system/stow/stow.SlackBuild b/system/stow/stow.SlackBuild
index 331021e003..e13df69362 100644
--- a/system/stow/stow.SlackBuild
+++ b/system/stow/stow.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for stow
-# Copyright 2018 Pedro R.M. Júnior, Campinas, SP, Brazil
+# Copyright 2018, 2019 Pedro R.M. Júnior, Campinas, SP, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=stow
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+
+# Apply patch. For more information, see notes "Changes in version
+# 2.3.1" in http://git.savannah.gnu.org/cgit/stow.git/tree/NEWS.
+patch -p2 < $CWD/merge.diff
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -87,7 +92,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+ AUTHORS COPYING ChangeLog INSTALL.md NEWS README.md THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild