summaryrefslogtreecommitdiff
path: root/desktop/cairo-dock/cairo-dock.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/cairo-dock/cairo-dock.SlackBuild')
-rw-r--r--desktop/cairo-dock/cairo-dock.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/desktop/cairo-dock/cairo-dock.SlackBuild b/desktop/cairo-dock/cairo-dock.SlackBuild
index 9392108c33..5ad8dd0e1c 100644
--- a/desktop/cairo-dock/cairo-dock.SlackBuild
+++ b/desktop/cairo-dock/cairo-dock.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for cairo-dock
+
# Written by Robert Goodall (cmd.line.geek@gmail.com)
-# Official Site: http://www.glx-dock.org/
+# Currently maintained by Erwin van Zanten (e.van.zanten.evz@gmail.com)
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cairo-dock
-VERSION=${VERSION:-2.3.0~2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.1.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCBUILD=1
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -61,15 +60,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.$SRCBUILD.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Starting with glib 2.32 it is now mandatory to
-# include glib.h instead of individual headers.
-patch -p1 -i $CWD/glib-single-include.patch
-
cmake \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \