aboutsummaryrefslogtreecommitdiffstats
path: root/main/hwdata/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-07 19:47:35 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 09:49:28 +0000
commit3d97418c1658cefaef0d0707b6b690590050e7f8 (patch)
treef971ac739ca2baefce4cea85abdb32990384fcad /main/hwdata/APKBUILD
parent78f93557ccefd81558e649a6bdf9e055f1338164 (diff)
downloadaports-3d97418c1658cefaef0d0707b6b690590050e7f8.tar.bz2
aports-3d97418c1658cefaef0d0707b6b690590050e7f8.tar.xz
main/hwdata: upgrade to 0.302
Diffstat (limited to 'main/hwdata/APKBUILD')
-rw-r--r--main/hwdata/APKBUILD19
1 files changed, 4 insertions, 15 deletions
diff --git a/main/hwdata/APKBUILD b/main/hwdata/APKBUILD
index 3c95f445cb..a69de884c0 100644
--- a/main/hwdata/APKBUILD
+++ b/main/hwdata/APKBUILD
@@ -1,28 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hwdata
-pkgver=0.301
+pkgver=0.302
pkgrel=0
pkgdesc="Hardware identification and configuration data"
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="$pkgname-$pkgver.tar.gz::https://github.com/vcrhonek/hwdata/archive/v$pkgver.tar.gz
install-T.patch"
builddir="$srcdir"/hwdata-$pkgver
-prepare() {
- local i
- cd "$builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
build() {
cd "$builddir"
@@ -31,14 +21,13 @@ build() {
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --datadir=/usr/share \
- || return 1
+ --datadir=/usr/share
# nothing to make
}
package() {
cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install
# remove modprobe blacklist
rm -r "$pkgdir"/usr/lib
}
@@ -55,5 +44,5 @@ pci() { replaces="pciutils"; _mv pci.ids; }
pnp() { _mv pnp.ids; }
oui() { _mv oui.txt; }
-sha512sums="f011e2b9e7848b553b146befa9337d0db2036778cd3aaa1518faafc3e9c1dd491f879075862ba177b15a390d6c0011994dbbd9a0bacb4b0e779ad4fd5d86b461 hwdata-0.301.tar.gz
+sha512sums="95149b7cb8db1bd82550eb16cc517b9698034f90ea62cda8f40cd5c331efe475e9be2a2606e17d144d843e9ffcf4d0e99d31e68c61eec098722ad43e709ce16f hwdata-0.302.tar.gz
88a786d8feb5c8b7de587ac70f3e4307d10ac5ed9b0edfc8711de1ba51808ca33a76df518cb5a508215c309289a079a778a91c3e6fc359d644d230de8d23f049 install-T.patch"