aboutsummaryrefslogtreecommitdiff
path: root/desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-21 15:51:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:49 -0500
commite6aca29e96049cc4bbfc4bfda11784f898bfceca (patch)
treee9b8420e1a1a6cd636f6d5c9619401780b873781 /desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild
parent7adfc7d91b041dbe6dcbfb7226c8bd9252c10574 (diff)
desktop/plasma-applet-daisy: Updated for version 0.0.4.26.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild')
-rw-r--r--desktop/plasma-applet-daisy/plasma-applet-daisy.SlackBuild25
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