diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-10-25 10:14:47 -0700 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-11-29 04:54:49 -0600 |
commit | 80a2a90f619e86e925e4f4e01f40edc1032b810c (patch) | |
tree | 76b78622f389ad0d62fc982872178c468b2de7b2 /user/hwdata | |
parent | 2c1a9edda7de2876af086b1b5acdfa0ee78d30e4 (diff) | |
download | packages-80a2a90f619e86e925e4f4e01f40edc1032b810c.tar.gz packages-80a2a90f619e86e925e4f4e01f40edc1032b810c.tar.bz2 packages-80a2a90f619e86e925e4f4e01f40edc1032b810c.tar.xz packages-80a2a90f619e86e925e4f4e01f40edc1032b810c.zip |
user/hwdata: new package
Diffstat (limited to 'user/hwdata')
-rw-r--r-- | user/hwdata/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/hwdata/APKBUILD b/user/hwdata/APKBUILD new file mode 100644 index 000000000..67bae81f1 --- /dev/null +++ b/user/hwdata/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=hwdata +pkgver=0.385 +pkgrel=0 +pkgdesc="Databases of hardware identification and configuration data" +url="https://github.com/vcrhonek/hwdata" +arch="noarch" +options="!check" # running tests creates dependency loop +license="GPL-2.0-only" +depends="" +checkdepends="pciutils python3" +makedepends="" +subpackages="" +source="hwdata-$pkgver.tar.gz::https://github.com/vcrhonek/hwdata/archive/refs/tags/v$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + ln -s /usr/bin/python3 python + PATH="$PATH:." make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="713274b6e938383bb27fa20dcc9f77a73b462366f6ae33eaa6f7d2e089a69f0d9c03b90a59c1302fdffa642da953435f1f13e3eb21b6521c2cf304c701aa83a6 hwdata-0.385.tar.gz" |