diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-10-25 10:14:47 -0700 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2024-08-27 21:05:11 -0700 |
commit | 83074e98c4141ddb193beb947903de055659b2b5 (patch) | |
tree | 7624583a73248c2f029b765f3718ab9fac0adcdd /user/hwdata/APKBUILD | |
parent | a7daae71ca1f13e1777181fdf85143b1a2f7b879 (diff) | |
download | packages-83074e98c4141ddb193beb947903de055659b2b5.tar.gz packages-83074e98c4141ddb193beb947903de055659b2b5.tar.bz2 packages-83074e98c4141ddb193beb947903de055659b2b5.tar.xz packages-83074e98c4141ddb193beb947903de055659b2b5.zip |
user/hwdata: new package
Diffstat (limited to 'user/hwdata/APKBUILD')
-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" |