summaryrefslogtreecommitdiff
path: root/system/dash/dash.SlackBuild
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2015-08-09 00:02:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-09 23:03:27 +0700
commit4f2c7ddfcac03c32546c65f49f67c27461108e85 (patch)
treee1d883882ef7eb75aef58ee4fd8ab99b3df4b559 /system/dash/dash.SlackBuild
parent0109484690abd3ab96e67a1466ac03273792bbb2 (diff)
downloadslackbuilds-4f2c7ddfcac03c32546c65f49f67c27461108e85.tar.gz
system/dash: Updated for version 0.5.8 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dash/dash.SlackBuild')
-rw-r--r--system/dash/dash.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/system/dash/dash.SlackBuild b/system/dash/dash.SlackBuild
index 47b9200929..f0c362a7d5 100644
--- a/system/dash/dash.SlackBuild
+++ b/system/dash/dash.SlackBuild
@@ -5,9 +5,11 @@
# Written by Vincent Batts, http://hashbangbash.com/
PRGNAM=dash
-VERSION=${VERSION:-0.5.6.1}
+VERSION=${VERSION:-0.5.8}
+_PATCH_VERS=${PATCH_VERS:-git_d7582e6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+USE_GIT_PATCH=${USE_GIT_PATCH:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,6 +46,14 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+# add fixes from upstream devel, if requested
+if [ "$USE_GIT_PATCH" = "yes" ] && \
+ [ -f $CWD/patches/dash-${VERSION}-${_PATCH_VERS}.diff ]; then
+ patch -p1 < $CWD/patches/dash-${VERSION}-${_PATCH_VERS}.diff
+ VERSION="${VERSION}.${_PATCH_VERS}"
+fi
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \