summaryrefslogtreecommitdiff
path: root/network/yturl/yturl.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-09-10 03:42:02 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:11:29 +0700
commitb2fa0f587e8f241bd7c558d823888a995a3c46a5 (patch)
tree513e068f2b51e45b135fcfca214f758f2bd250c7 /network/yturl/yturl.SlackBuild
parent2838f20d84f706edd6f7ca7cbfb3ae7d70167108 (diff)
downloadslackbuilds-b2fa0f587e8f241bd7c558d823888a995a3c46a5.tar.gz
network/yturl: Updated for version 1.20.0, update man page.
Diffstat (limited to 'network/yturl/yturl.SlackBuild')
-rw-r--r--network/yturl/yturl.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild
index 84795ef6ee..9997f9d97e 100644
--- a/network/yturl/yturl.SlackBuild
+++ b/network/yturl/yturl.SlackBuild
@@ -17,18 +17,16 @@
# Use "python setup.py" since upstream has started requiring it.
# Get rid of unused SLKCFLAGS and LIBDIRSUFFIX variables.
+# 20150910 bkw: upgrade to 1.20.0.
+# ARCH=noarch, there's no object code in the package.
+# Add DESCRIPTION section to man page.
+
PRGNAM=yturl
-VERSION=${VERSION:-1.17.0}
+VERSION=${VERSION:-1.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -56,7 +54,7 @@ mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md LICENSE.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install