summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Cooley <dfc@warpmail.net>2015-07-22 08:19:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-22 08:19:49 +0700
commit39f28706d3dc495cd5d23b9599f5b4bb1ff42405 (patch)
tree8ed4798899f97de4e724c72e9ee654ff830b5709
parent6a21103e20d37fbdcda26f239017316d3a92d00f (diff)
downloadslackbuilds-39f28706d3dc495cd5d23b9599f5b4bb1ff42405.tar.gz
office/qpdfview: Add localization.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/qpdfview/qpdfview.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild
index 01711be11e..7387aa6004 100644
--- a/office/qpdfview/qpdfview.SlackBuild
+++ b/office/qpdfview/qpdfview.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=qpdfview
VERSION=${VERSION:-0.4.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,6 +74,9 @@ find -L . \
sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
+# Add localizations
+lrelease qpdfview.pro
+
#Configure qpdfview. Installation paths are correctly set in qpdfview.pri
qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro