summaryrefslogtreecommitdiff
path: root/academic/speedcrunch/speedcrunch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/speedcrunch/speedcrunch.SlackBuild')
-rw-r--r--academic/speedcrunch/speedcrunch.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild
index 72bf682328..ffd247f0d9 100644
--- a/academic/speedcrunch/speedcrunch.SlackBuild
+++ b/academic/speedcrunch/speedcrunch.SlackBuild
@@ -56,12 +56,14 @@ patch -p1 < $CWD/speedcrunch-0.10.1-fix-icon-name.patch
mkdir build && cd build
# Make translations for speedcrunch
lrelease ../src/$PRGNAM.pro
- cmake "-DCMAKE_INSTALL_PREFIX=/usr" \
- "-DCMAKE_CXX_FLAGS=$SLKCFLAGS" \
- "-DCMAKE_C_FLAGS=$SLKCFLAGS" \
- "-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}" \
- "-DCMAKE_BUILD_TYPE=$ARCH-slackware-linux" ../src
- make
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ ../src
+
+ make VERBOSE=1
make install DESTDIR=$PKG
cd -
@@ -69,8 +71,9 @@ 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 ChangeLog* COPYING HACKING.txt INSTALL.txt LISEZMOI PACKAGERS \
- README TRANSLATORS doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ChangeLog* COPYING HACKING.txt INSTALL.txt LISEZMOI PACKAGERS \
+ README TRANSLATORS doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install