aboutsummaryrefslogtreecommitdiff
path: root/office/xournalpp/xournalpp.SlackBuild
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2022-03-30 23:25:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:17 +0700
commitc2d7c3b9e79d61b456fddc6a7bde0938266d6625 (patch)
tree0f77c2e372d84cb77ef01ba5dff99808506a6638 /office/xournalpp/xournalpp.SlackBuild
parentb28c9907661e5259630a8d1ab553b761e2f10751 (diff)
office/xournalpp: Updated for version 1.1.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/xournalpp/xournalpp.SlackBuild')
-rw-r--r--office/xournalpp/xournalpp.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/office/xournalpp/xournalpp.SlackBuild b/office/xournalpp/xournalpp.SlackBuild
index 53c828499027c..006fa746b818e 100644
--- a/office/xournalpp/xournalpp.SlackBuild
+++ b/office/xournalpp/xournalpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xournalpp
-VERSION=${VERSION:-1.0.20}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,7 +85,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target pot
cmake --build . --target translations
@@ -96,7 +95,10 @@ cd ..
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 -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+mv $PKG/usr/share/man $PKG/usr
+
+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
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION