summaryrefslogtreecommitdiff
path: root/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild')
-rw-r--r--desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
index 569a627585..cb0c245e29 100644
--- a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
+++ b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
@@ -26,16 +26,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-KDE4
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.5.2}
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
@@ -74,7 +72,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" \
@@ -93,7 +91,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
@@ -102,11 +100,3 @@ 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