diff --git a/srcpkgs/hwids/template b/srcpkgs/hwids/template new file mode 100644 index 0000000000..a9b5fd8d60 --- /dev/null +++ b/srcpkgs/hwids/template @@ -0,0 +1,20 @@ +# Template file for 'hwids' +pkgname=hwids +version=20120524 +homepage="https://github.com/Flameeyes/hwids" +short_desc="Hardware Identification Databases" +maintainer="Juan RP " +noarch=yes +replaces="pciutils<3.1.9_1 usbutils<005_1" +license="GPL-2" +distfiles="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.xz" +checksum=3db843f42711c9138a8b5e00a9408ed9f553fdb01be6f9a19665223d7f03634a +long_desc=" + The reason to repackage the files together is to make it simpler for applications + to require them, without having to bring in either pciutils or usbutils, that + might be unnecessary for most installs." + +do_install() { + vmkdir usr/share/hwdata + install -m644 *.ids ${DESTDIR}/usr/share/hwdata +}