aboutsummaryrefslogtreecommitdiff
path: root/network/yturl/yturl.SlackBuild
diff options
context:
space:
mode:
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 84795ef6ee8b1..9997f9d97e13b 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