From 6780b753c095ee4b0cedc203a459b9ea3af5277b Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 22 Mar 2017 21:14:05 +0000 Subject: hwids: update to 20161103 --- abs/core/hwids/PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/abs/core/hwids/PKGBUILD b/abs/core/hwids/PKGBUILD index ea682a7..c900b05 100644 --- a/abs/core/hwids/PKGBUILD +++ b/abs/core/hwids/PKGBUILD @@ -1,17 +1,20 @@ -# $Id: PKGBUILD 163600 2012-07-16 16:55:13Z tomegun $ +# $Id$ # Maintainer: Tom Gundersen pkgname=hwids -pkgver=20120711 +pkgver=20161103 pkgrel=1 pkgdesc="hardware identification databases" +makedepends=('git') url=https://github.com/gentoo/hwids license=('GPL2') arch=('any') -source=("https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${pkgver}") +source=("git://github.com/gentoo/hwids.git#tag=${pkgname}-${pkgver}") package() { - cd ${srcdir}/* - mkdir -p "${pkgdir}/usr/share/hwdata" - cp pci.ids usb.ids "${pkgdir}/usr/share/hwdata/" + cd hwids + + for ids in pci.ids usb.ids; do + install -Dm644 "$ids" "${pkgdir}/usr/share/hwdata/${ids}" + done } -md5sums=('f28b77e9793330ed1cd3568a8f715237') +md5sums=('SKIP') -- cgit v0.12