summaryrefslogtreecommitdiff
path: root/network/quassel/quassel.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-01-23 17:07:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:23:05 +0700
commita881a728ef9c6260ccea37918999ce55640c9fc5 (patch)
tree5686aca25a19c45fcd96c3e8a7b8e86f6083d971 /network/quassel/quassel.SlackBuild
parent20cd729f912362bcf06a5aac2e9b4af1a1bb3345 (diff)
downloadslackbuilds-a881a728ef9c6260ccea37918999ce55640c9fc5.tar.gz
network/quassel: Updated for version 0.12.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/quassel/quassel.SlackBuild')
-rw-r--r--network/quassel/quassel.SlackBuild34
1 files changed, 16 insertions, 18 deletions
diff --git a/network/quassel/quassel.SlackBuild b/network/quassel/quassel.SlackBuild
index a1913e3b37..c213376d44 100644
--- a/network/quassel/quassel.SlackBuild
+++ b/network/quassel/quassel.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for quassel
# Written by crocket (crockabiscuit@gmail.com)
-# Updated by Donald Cooley <dfc@warpmail.net>
+# Copyright 2017 Donald Cooley South Haven, IN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=quassel
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-0.12.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -76,15 +76,12 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DWANT_CORE=ON \
-DWANT_MONO=ON \
+ -DWANT_QTCLIENT=ON \
-DWITH_KDE=ON \
- -DWITH_OPENSSL=ON \
- -DWITH_DBUS=ON \
-DWITH_WEBKIT=ON \
- -DWITH_CRYPT=ON \
-DWITH_OXYGEN=OFF \
- -DWITH_PHONON=ON \
- -DWITH_LIBINDICATE=ON \
-DSTATIC=OFF \
-DEMBED_DATA=OFF \
-DCMAKE_BUILD_TYPE=Release \
@@ -93,12 +90,13 @@ cd build
make install DESTDIR=$PKG
cd ..
-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
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL README \
+cp -a AUTHORS COPYING INSTALL README ChangeLog gpl-2.0.txt gpl-3.0.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild