diff options
-rw-r--r-- | system/CPU-X/CPU-X.SlackBuild | 6 | ||||
-rw-r--r-- | system/CPU-X/CPU-X.info | 6 | ||||
-rw-r--r-- | system/CPU-X/doinst.sh | 7 |
3 files changed, 11 insertions, 8 deletions
diff --git a/system/CPU-X/CPU-X.SlackBuild b/system/CPU-X/CPU-X.SlackBuild index 8530510954bd..4583ab43362b 100644 --- a/system/CPU-X/CPU-X.SlackBuild +++ b/system/CPU-X/CPU-X.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=CPU-X -VERSION=${VERSION:-3.2.4} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,10 +84,8 @@ cd .. 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 -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/CPU-X/CPU-X.info b/system/CPU-X/CPU-X.info index 8a160e9c0489..656572f65ba7 100644 --- a/system/CPU-X/CPU-X.info +++ b/system/CPU-X/CPU-X.info @@ -1,8 +1,8 @@ PRGNAM="CPU-X" -VERSION="3.2.4" +VERSION="4.0.0" HOMEPAGE="https://x0rg.github.io/CPU-X/" -DOWNLOAD="https://github.com/X0rg/CPU-X/archive/v3.2.4/CPU-X-3.2.4.tar.gz" -MD5SUM="1f6f8f4efedd04d6197db0b62f724e62" +DOWNLOAD="https://github.com/X0rg/CPU-X/archive/v4.0.0/CPU-X-4.0.0.tar.gz" +MD5SUM="1968007023a9346ff83c2bf18419bada" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libcpuid" diff --git a/system/CPU-X/doinst.sh b/system/CPU-X/doinst.sh index a5749a8f36bb..401d9877955b 100644 --- a/system/CPU-X/doinst.sh +++ b/system/CPU-X/doinst.sh @@ -7,4 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi - + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi |