void-packages/srcpkgs/hwids/template
2012-10-29 14:38:05 +01:00

31 lines
883 B
Plaintext

# Template file for 'hwids'
pkgname=hwids
version=20121022
revision=1
short_desc="Hardware Identification Databases"
maintainer="Juan RP <xtraeme@gmail.com>"
replaces="pciutils<3.1.9_1 usbutils<005_1"
homepage="https://github.com/Flameeyes/hwids"
license="GPL-2"
distfiles="https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${version}"
checksum=ba4a78871b74972d6f3813f2b3895ce1275e2a9a01ad83c65c4f9aefdb0e9c35
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."
noarch=yes
noextract=yes
create_wrksrc=yes
do_extract() {
cd ${wrksrc}
tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}
mv ${wrksrc}/gentoo*/* ${wrksrc}
}
do_install() {
vmkdir usr/share/hwdata
install -m644 *.ids ${DESTDIR}/usr/share/hwdata
}