From 25f02931cd55b4972620d750f07721d02783aa09 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Fri, 23 Dec 2016 08:26:05 +0700 Subject: desktop/compton-conf: Updated for version 0.2.1. Signed-off-by: Willy Sudiarto Raharjo --- desktop/compton-conf/compton-conf.SlackBuild | 17 +++++++++-------- desktop/compton-conf/compton-conf.info | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'desktop/compton-conf') diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index fd8790938f..96897ce36e 100644 --- a/desktop/compton-conf/compton-conf.SlackBuild +++ b/desktop/compton-conf/compton-conf.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for compton-conf. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="compton-conf" -VERSION=${VERSION:-0.1.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.2.1} +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 @@ -40,8 +40,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" @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -78,7 +78,7 @@ make install DESTDIR=$PKG 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 -DOCS="AUTHORS compton.conf.example COPYING README" +DOCS="AUTHORS CHANGELOG COPYING README.md compton.conf.example" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION @@ -86,6 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/compton-conf/compton-conf.info b/desktop/compton-conf/compton-conf.info index 5228661eee..0c2595729b 100644 --- a/desktop/compton-conf/compton-conf.info +++ b/desktop/compton-conf/compton-conf.info @@ -1,10 +1,10 @@ PRGNAM="compton-conf" -VERSION="0.1.0" +VERSION="0.2.1" HOMEPAGE="https://github.com/lxde/compton-conf" -DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.1.0.tar.gz" -MD5SUM="767ace41462d947f161d13edfee61f8b" +DOWNLOAD="https://github.com/lxde/compton-conf/archive/0.2.1/compton-conf-0.2.1.tar.gz" +MD5SUM="3ef109bcbac681917edf427fcdd52d41" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="compton" +REQUIRES="compton lxqt-build-tools libinput" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" -- cgit v1.2.3