void-packages/srcpkgs/hwids/template

36 lines
926 B
Plaintext
Raw Normal View History

2012-05-24 07:49:10 +02:00
# Template file for 'hwids'
pkgname=hwids
2013-05-15 07:30:40 +02:00
version=20130512
revision=1
2012-05-24 07:49:10 +02:00
short_desc="Hardware Identification Databases"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-08-05 08:11:37 +02:00
homepage="https://github.com/Flameeyes/hwids"
2012-05-24 07:49:10 +02:00
license="GPL-2"
2012-08-05 08:11:37 +02:00
distfiles="https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${version}"
2013-05-15 07:30:40 +02:00
checksum=67d5e01fb2fff2e96345230fab914c8da8a8a535d3162b4907cee3c0f0d466b7
2012-05-24 07:49:10 +02:00
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."
2012-10-29 14:38:05 +01:00
create_wrksrc=yes
2012-08-05 08:11:37 +02:00
do_extract() {
cd ${wrksrc}
tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}
mv ${wrksrc}/gentoo*/* ${wrksrc}
}
2012-05-24 07:49:10 +02:00
do_install() {
vmkdir usr/share/hwdata
install -m644 *.ids ${DESTDIR}/usr/share/hwdata
}
hwids_package() {
noarch="yes"
replaces="pciutils<3.1.9_1 usbutils<005_1"
pkg_install() {
vmove usr
}
}