summaryrefslogtreecommitdiff
path: root/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/xmlcopyeditor/xmlcopyeditor.SlackBuild')
-rw-r--r--development/xmlcopyeditor/xmlcopyeditor.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
index 84eba01038..975bc168ee 100644
--- a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
+++ b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xmlcopyeditor
-# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
# 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=xmlcopyeditor
-VERSION=${VERSION:-1.2.1.2}
+VERSION=${VERSION:-1.2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,6 +78,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
@@ -88,6 +89,8 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog gpl-2.0.txt INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild