diff options
Diffstat (limited to 'desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild')
-rw-r--r-- | desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild index ef8dbba8f40ec..73a9896511b79 100644 --- a/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild +++ b/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild @@ -4,7 +4,7 @@ # Written by Eugene Kommunist Bolotov <lordinferius@gmail.com> PRGNAM=plasma-applet-daisy -VERSION=0.0.4.25 +VERSION=0.0.4.26 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,17 +48,20 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -cmake \ --DCMAKE_INSTALL_PREFIX="/usr" \ --DLIBDIR_SUFFIX=${LIBDIRSUFFIX} \ -. +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |