system/qdirstat: Updated for version 1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alan Aversa 2016-12-03 02:11:11 +07:00 committed by Willy Sudiarto Raharjo
parent 35b7b834d8
commit 44df0048e0
2 changed files with 12 additions and 7 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qdirstat PRGNAM=qdirstat
VERSION=${VERSION:-1.0} VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
@ -70,12 +70,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
qmake-qt5 qmake-qt5 || qmake
make make
mkdir -p $PKG/usr/bin/ mkdir -p $PKG/usr/bin/
mv src/qdirstat $PKG/usr/bin/ mv src/qdirstat $PKG/usr/bin/
mkdir -p $PKG/usr/share/{applications,pixmaps}
cp -p src/qdirstat.desktop $PKG/usr/share/applications
sed -i -e 's/Icon=qdirstat/Icon=\/usr\/share\/pixmaps\/qdirstat.png/' $PKG/usr/share/applications/qdirstat.desktop
cp -p src/icons/qdirstat.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="qdirstat" PRGNAM="qdirstat"
VERSION="1.0" VERSION="1.1"
HOMEPAGE="https://github.com/shundhammer/qdirstat/" HOMEPAGE="https://github.com/shundhammer/qdirstat/"
DOWNLOAD="https://github.com/shundhammer/qdirstat/archive/1.0.tar.gz" DOWNLOAD="https://github.com/shundhammer/qdirstat/archive/1.1/qdirstat-1.1.tar.gz"
MD5SUM="68a67c279453777be04d51c2add02f45" MD5SUM="ffeb18162636af28658041681698fb0a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="qt5" REQUIRES=""
MAINTAINER="Alan Aversa" MAINTAINER="Alan Aversa"
EMAIL="aveNOrsa@email.ariSPAMzona.edu (remove NO and SPAM)" EMAIL="aveNOrsa@email.ariSPAMzona.edu (remove NO and SPAM)"