me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Package the PCI device database consumed by libpciaccess

diviocity committed 6 days ago · 789cd0f90e5a44e66043584493d321f1a2072283 View patch
Unverified signature 1 files changed +18 -0
hwdata-pci/PKGBUILD.vile new file +18 -0

@@ -0,0 +1,18 @@

1+defpkgbuild(hwdata-pci,

2+ #:pkgname, "hwdata-pci",

3+ #:pkgver, "0.393",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "PCI device names for the Vinix X11 stack",

6+ #:arch, [#:any],

7+ #:license, "GPL-2.0-or-later OR BSD-3-Clause",

8+ #:url, "https://github.com/vcrhonek/hwdata",

9+ #:source, ["https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.393.tar.gz"],

10+ #:sha256sums, ["322add86944680e99d04468d49de180a7ce0c77fb406f7abde8ab14f2d161051"],

11+ #:check, fn() {

12+ run("grep", "-q", "^8086 ", "hwdata-0.393/pci.ids")

13+ },

14+ #:package, fn() {

15+ run("install", "-Dm644", "hwdata-0.393/pci.ids", string-append(pkgdir(), "/usr/share/hwdata/pci.ids"))

16+ run("install", "-Dm644", "hwdata-0.393/COPYING", string-append(pkgdir(), "/usr/share/licenses/hwdata-pci/COPYING"))

17+ run("install", "-Dm644", "hwdata-0.393/LICENSE", string-append(pkgdir(), "/usr/share/licenses/hwdata-pci/LICENSE"))

18+ })