From 733e05a01feaaf5e56aa046cec33bddf8d646290 Mon Sep 17 00:00:00 2001 From: lemmi Date: Mon, 27 Jul 2020 09:39:40 +0200 Subject: [PATCH] qdirstat: update to 1.7. --- srcpkgs/qdirstat/patches/fix-allperms-musl.patch | 4 ++-- srcpkgs/qdirstat/template | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/qdirstat/patches/fix-allperms-musl.patch b/srcpkgs/qdirstat/patches/fix-allperms-musl.patch index af37c1dae1f..7719b4b380f 100644 --- a/srcpkgs/qdirstat/patches/fix-allperms-musl.patch +++ b/srcpkgs/qdirstat/patches/fix-allperms-musl.patch @@ -4,7 +4,7 @@ diff --git a/src/FileInfo.cpp b/src/FileInfo.cpp index 5cc198c..197d40c 100644 --- src/FileInfo.cpp +++ src/FileInfo.cpp -@@ -21,6 +21,10 @@ +@@ -24,6 +24,10 @@ #include "Logger.h" #include "Exception.h" @@ -12,7 +12,7 @@ index 5cc198c..197d40c 100644 +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) +#endif + - // Some file systems (NTFS seems to be among them) may handle block fragments + // Some filesystems (NTFS seems to be among them) may handle block fragments // well. Don't report files as "sparse" files if the block size is only a few // bytes less than the byte size - it may be due to intelligent fragment diff --git a/srcpkgs/qdirstat/template b/srcpkgs/qdirstat/template index fbb4bf90f6b..40be76ac8ef 100644 --- a/srcpkgs/qdirstat/template +++ b/srcpkgs/qdirstat/template @@ -1,6 +1,6 @@ # Template file for 'qdirstat' pkgname=qdirstat -version=1.6.1 +version=1.7 revision=1 build_style=qmake hostmakedepends="qt5-qmake" @@ -10,17 +10,22 @@ maintainer="lemmi " license="GPL-2" homepage="https://github.com/shundhammer/qdirstat" distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz" -checksum=8cc12a054930a29dc3b1480e4fa63597ddffeac8841cf7804230410f96b6cf3b +checksum=9a8ec22a19290794147f727bca27deb7e02b4d9c537deb2fd0d3e647621f8c4a if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" fi +post_install() { + vman man/qdirstat.1 +} + qdirstat-cache-writer_package() { short_desc+=" - headless scanner" depends="perl" archs=noarch pkg_install() { vmove usr/bin/qdirstat-cache-writer + vman man/qdirstat-cache-writer.1 } }