diff --git a/srcpkgs/x86info/template b/srcpkgs/x86info/template index e007eee0827..6644584b2ca 100644 --- a/srcpkgs/x86info/template +++ b/srcpkgs/x86info/template @@ -1,21 +1,22 @@ # Template file for 'x86info' pkgname=x86info -version=1.30 +version=1.31~pre0 revision=1 +_commit=8052aabdd159bc9050e7dc264f33782c5acce05f archs="x86_64* i686*" build_style=gnu-makefile hostmakedepends="python3" makedepends="pciutils-devel" -short_desc="A CPU identification utility" +short_desc="CPU identification utility" maintainer="Foxlet " -homepage="http://codemonkey.org.uk/projects/x86info/" license="GPL-2.0-only" -distfiles="http://codemonkey.org.uk/projects/x86info/x86info-${version}.tgz" -checksum=fe3009850e93a9c5fa38ed6bf74d72686043329fead8f1b2be4b5943d4fc9428 +homepage="http://codemonkey.org.uk/projects/x86info/" +distfiles="${DEBIAN_SITE}/main/x/x86info/x86info_${version}.${_commit}.orig.tar.gz" +checksum=48230255c63de46eeba7fbf5b38180767a52f64248e6cc5b94f17539f6747b4b -case "$XBPS_TARGET_MACHINE" in - *-musl) CFLAGS="-D_GNU_SOURCE";; -esac +if [ "$XBPS_TARGET_LIBC" = musl ]; then + CFLAGS="-D_GNU_SOURCE" +fi do_install() { vbin x86info