diff --git a/srcpkgs/cpuid/template b/srcpkgs/cpuid/template new file mode 100644 index 00000000000..39a718ebee5 --- /dev/null +++ b/srcpkgs/cpuid/template @@ -0,0 +1,17 @@ +# Template file for 'cpuid' +pkgname=cpuid +version=20180519 +revision=1 +only_for_archs="i686 i686-musl x86_64 x86_64-musl" +build_style=gnu-makefile +hostmakedepends="perl" +short_desc="Linux tool to dump x86 CPUID information about the CPU(s)" +maintainer="cr6git " +license="GPL-2.0-or-later" +homepage="http://www.etallen.com/cpuid.html" +distfiles="http://www.etallen.com/cpuid/cpuid-${version}.src.tar.gz" +checksum=967823be36f23cbc972eb0aa882d069c1d155a5978990ac3bcf425e6a2e7ff9a + +post_extract() { + sed -i 's|BUILDROOT=|BUILDROOT=${DESTDIR}|' Makefile +}