diff options
Diffstat (limited to 'desktop/qlipper/qlipper.SlackBuild')
-rw-r--r-- | desktop/qlipper/qlipper.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/desktop/qlipper/qlipper.SlackBuild b/desktop/qlipper/qlipper.SlackBuild index e4d09ec5fb..771649f778 100644 --- a/desktop/qlipper/qlipper.SlackBuild +++ b/desktop/qlipper/qlipper.SlackBuild @@ -4,7 +4,7 @@ # Written by ponce <matteo.bernardini@gmail.com> PRGNAM=qlipper -VERSION=${VERSION:-1.8.3} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,10 +52,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -qmake qlipper.pro PREFIX=/usr - -make -make install INSTALL_ROOT=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +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 |