aboutsummaryrefslogtreecommitdiff
path: root/graphics/oyranos/oyranos.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-08-20 10:15:03 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-26 07:20:15 +0700
commite94d231fe796b09c7ac9c0e6d34b7707c074185e (patch)
treea97a3f0a1834207103d07f8eeb3c23d0b146b6ec /graphics/oyranos/oyranos.SlackBuild
parenta88d958ec4036191b982903f25688a0efe8503ea (diff)
graphics/oyranos: Updated for version 0.9.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/oyranos/oyranos.SlackBuild')
-rw-r--r--graphics/oyranos/oyranos.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index 115d65c9d0006..167e18989f6b9 100644
--- a/graphics/oyranos/oyranos.SlackBuild
+++ b/graphics/oyranos/oyranos.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for oyranos
# Originally Written by Diogo Leal (diogo@diogoleal.com)
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=oyranos
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,11 +88,12 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
-find $PKG/usr/share/ -type d -empty -depth -exec rmdir {} \;
+cp -a AUTHORS.md BUGS COPYING.md README.md PACKAGING.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install