diff options
author | Alan Aversa <Alan Aversa aversa@email.arizona.edu> | 2016-12-03 02:11:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 02:11:46 +0700 |
commit | 44df0048e080c370f54ac57ef36882f2f28980d6 (patch) | |
tree | 7afe7fc6dd3ca481ea34a15d2e55a21cdd67ee0b /system/qdirstat/qdirstat.SlackBuild | |
parent | 35b7b834d8ebe2a283745244ca39406eee37caf7 (diff) |
system/qdirstat: Updated for version 1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qdirstat/qdirstat.SlackBuild')
-rw-r--r-- | system/qdirstat/qdirstat.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/system/qdirstat/qdirstat.SlackBuild b/system/qdirstat/qdirstat.SlackBuild index 363be9f5530eb..a817d7afc4545 100644 --- a/system/qdirstat/qdirstat.SlackBuild +++ b/system/qdirstat/qdirstat.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qdirstat -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP 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 chown -R root:root . @@ -70,12 +70,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -qmake-qt5 +qmake-qt5 || qmake make mkdir -p $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 cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |