system/CPU-X: Updated for version 4.0.0.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Cristiano Urban 2020-05-29 20:10:16 +01:00 committed by Willy Sudiarto Raharjo
parent f5370e344b
commit cec91a1425
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -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"

View file

@ -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