From 17cf6e9916f5eb2a7bd5c21daf168b8b719d2d1a Mon Sep 17 00:00:00 2001 From: larryhaja Date: Wed, 13 Nov 2013 18:21:11 -0800 Subject: academic/speedcrunch: script clean up Signed-off-by: Robby Workman --- academic/speedcrunch/speedcrunch.SlackBuild | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'academic/speedcrunch') 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 -- cgit v1.2.3