aboutsummaryrefslogtreecommitdiff
path: root/libraries/podofo/podofo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/podofo/podofo.SlackBuild')
-rw-r--r--libraries/podofo/podofo.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index b4651ada9fa30..740f6ea597dc9 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=podofo
-VERSION=0.8.4
+VERSION=0.9.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix mandir directory.
+sed -i 's|share/man|man|' CMakeLists.txt
+
mkdir build
cd build
cmake -G "Unix Makefiles" \
@@ -71,6 +74,8 @@ cd -
find $PKG | xargs 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 CODING* CONTRIBUTIONS* COPYING* FAQ* INSTALL README* TODO \