From 789cd0f90e5a44e66043584493d321f1a2072283 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 00:16:07 +0100 Subject: [PATCH] Package the PCI device database consumed by libpciaccess --- hwdata-pci/PKGBUILD.vile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hwdata-pci/PKGBUILD.vile diff --git a/hwdata-pci/PKGBUILD.vile b/hwdata-pci/PKGBUILD.vile new file mode 100644 index 0000000..be29aba --- /dev/null +++ b/hwdata-pci/PKGBUILD.vile @@ -0,0 +1,18 @@ +defpkgbuild(hwdata-pci, + #:pkgname, "hwdata-pci", + #:pkgver, "0.393", + #:pkgrel, 1, + #:pkgdesc, "PCI device names for the Vinix X11 stack", + #:arch, [#:any], + #:license, "GPL-2.0-or-later OR BSD-3-Clause", + #:url, "https://github.com/vcrhonek/hwdata", + #:source, ["https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.393.tar.gz"], + #:sha256sums, ["322add86944680e99d04468d49de180a7ce0c77fb406f7abde8ab14f2d161051"], + #:check, fn() { + run("grep", "-q", "^8086 ", "hwdata-0.393/pci.ids") + }, + #:package, fn() { + run("install", "-Dm644", "hwdata-0.393/pci.ids", string-append(pkgdir(), "/usr/share/hwdata/pci.ids")) + run("install", "-Dm644", "hwdata-0.393/COPYING", string-append(pkgdir(), "/usr/share/licenses/hwdata-pci/COPYING")) + run("install", "-Dm644", "hwdata-0.393/LICENSE", string-append(pkgdir(), "/usr/share/licenses/hwdata-pci/LICENSE")) + }) -- 2.56.1