aboutsummaryrefslogtreecommitdiff
path: root/desktop/QtCurve-KDE4
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2010-09-18 23:41:42 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-09-21 22:09:40 -0500
commitdef67653d0dc0bed186e345807268da4b204c29e (patch)
tree4bd9882634313c6079a4f0f3460770b286ac6c79 /desktop/QtCurve-KDE4
parent656a9f6dfe64b7a97af630ae2c1b7675dc146da6 (diff)
desktop/QtCurve-KDE4: Updated for version 1.6.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/QtCurve-KDE4')
-rw-r--r--desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild16
-rw-r--r--desktop/QtCurve-KDE4/QtCurve-KDE4.info8
2 files changed, 17 insertions, 7 deletions
diff --git a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
index cb0c245e2931a..513eafe98c83c 100644
--- a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
+++ b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
@@ -26,14 +26,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-KDE4
-VERSION=${VERSION:-1.5.2}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -72,7 +74,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir build
+mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -91,7 +93,7 @@ cd -
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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -100,3 +102,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+
+# Clean up the extra stuff:
+if [ "$1" = "--cleanup" ]; then
+ rm -rf $TMP/$PRGNAM-$BASEVERS
+ rm -rf $PKG
+fi
+
+# vim: et ts=2 sw=2
diff --git a/desktop/QtCurve-KDE4/QtCurve-KDE4.info b/desktop/QtCurve-KDE4/QtCurve-KDE4.info
index df36f5faea22f..a9b435aae5f7a 100644
--- a/desktop/QtCurve-KDE4/QtCurve-KDE4.info
+++ b/desktop/QtCurve-KDE4/QtCurve-KDE4.info
@@ -1,10 +1,10 @@
PRGNAM="QtCurve-KDE4"
-VERSION="1.5.2"
+VERSION="1.6.1"
HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
-DOWNLOAD="http://craigd.wikispaces.com/file/view/QtCurve-KDE4-1.5.2.tar.bz2"
-MD5SUM="6fc73762101a91a09b1359eb5b2689aa"
+DOWNLOAD="http://craigd.wikispaces.com/file/view/QtCurve-KDE4-1.6.1.tar.bz2"
+MD5SUM="83c87750d59cd36664fa48b570fd4dd7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"