Commit 51100460 authored by Natanael Copa's avatar Natanael Copa

main/hwdata: upgrade to 0.298

parent 591de794
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hwdata
pkgver=0.297
pkgver=0.298
pkgrel=0
pkgdesc="Hardware identification and configuration data"
url="http://git.fedorahosted.org/git/hwdata.git"
url="https://github.com/vcrhonek/hwdata"
arch="noarch"
license="GPL2+"
makedepends="bash"
install=""
subpackages="$pkgname-usb $pkgname-pci $pkgname-pnp $pkgname-oui"
depends="$subpackages"
source="http://fedorahosted.org/releases/h/w/hwdata/hwdata-$pkgver.tar.bz2
source="$pkgname-$pkgver.tar.gz::https://github.com/vcrhonek/hwdata/archive/v$pkgver.tar.gz
install-T.patch"
_builddir="$srcdir"/hwdata-$pkgver
builddir="$srcdir"/hwdata-$pkgver
prepare() {
local i
cd "$_builddir"
cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......@@ -25,7 +25,7 @@ prepare() {
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -37,7 +37,7 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
# remove modprobe blacklist
rm -r "$pkgdir"/usr/lib
......@@ -55,5 +55,5 @@ pci() { replaces="pciutils"; _mv pci.ids; }
pnp() { _mv pnp.ids; }
oui() { _mv oui.txt; }
sha512sums="d98dafe3441ff48d338811794305ae48210c3b8a14e20cf0928e28c5972b5dc08d653ade0434bc1589ffadd993420e343643ff665a174f063c1279cc20fc2b71 hwdata-0.297.tar.bz2
sha512sums="a04b894570b79b9a340b5214327a334bb8b261ed6918d2313e7c16277d95be88b79f57791d89080bf6b4160f6955c6785da3c6172a53d78bdd591af6d925d419 hwdata-0.298.tar.gz
88a786d8feb5c8b7de587ac70f3e4307d10ac5ed9b0edfc8711de1ba51808ca33a76df518cb5a508215c309289a079a778a91c3e6fc359d644d230de8d23f049 install-T.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment