office/qpdfview: Add localization.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Donald Cooley 2015-07-22 08:19:49 +07:00 committed by Willy Sudiarto Raharjo
parent 6a21103e20
commit 39f28706d3
1 changed files with 4 additions and 1 deletions

View File

@ -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