aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorManuel Reimer <manuel.reimer@gmx.de>2010-05-15 22:17:40 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:38 -0500
commit9af944983568ce65667a40a75a2280887cc44370 (patch)
tree6961b230d125f6582c946ba68ccd8a5911179eef /misc
parent9f236896349fe04a3cb35856bd810ddb4e93a159 (diff)
misc/merkaartor: Enabled translations (and other minor fixes)
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/merkaartor/merkaartor.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/misc/merkaartor/merkaartor.SlackBuild b/misc/merkaartor/merkaartor.SlackBuild
index 493e0e815697..07b716505a93 100755
--- a/misc/merkaartor/merkaartor.SlackBuild
+++ b/misc/merkaartor/merkaartor.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for Merkaartor
# Written by otzy_007 (oz@oprod.net)
+# Fixed to include translations by Manuel Reimer <manuel.reimer@gmx.de>
PRGNAM=merkaartor
VERSION=${VERSION:-0.15.3}
@@ -41,7 +42,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+make -C translations release
+
qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ NODEBUG=1\
QMAKE_CFLAGS="$SLKCFLAGS" \
LIBDIR="/usr/lib${LIBDIRSUFFIX}"\
QMAKE_CXXFLAGS="$SLKCFLAGS"
@@ -49,15 +53,8 @@ qmake -unix PREFIX=/usr DOCDIR=/usr/doc/$PRGNAM-$VERSION \
make
make install INSTALL_ROOT=$PKG
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \