summaryrefslogtreecommitdiff
path: root/opt/pciutils/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/pciutils/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/pciutils/MAKEPKG')
-rw-r--r--opt/pciutils/MAKEPKG27
1 files changed, 27 insertions, 0 deletions
diff --git a/opt/pciutils/MAKEPKG b/opt/pciutils/MAKEPKG
new file mode 100644
index 0000000..94e0988
--- /dev/null
+++ b/opt/pciutils/MAKEPKG
@@ -0,0 +1,27 @@
+#!/bin/mkpkg
+# description: PCI utilities (lspci, setpci)
+# url: https://mj.ucw.cz/sw/pciutils/
+name=pciutils
+version=3.15.0
+release=1
+depends=(hwdata)
+source=(https://mj.ucw.cz/download/linux/pci/$name-$version.tar.gz)
+sha256sums=(
+ "a42e6e3f76fb6b1f6ac2e08cdd151f6bf78bc4f6312c591f4b6ec197582ede3a"
+)
+
+build() {
+ cd $name-$version
+ make CC=cc PREFIX=/usr SHAREDIR=/usr/share/hwdata \
+ ZLIB=no DNS=no SHARED=no -j$(nproc)
+ make DESTDIR=$PKG PREFIX=/usr SHAREDIR=/usr/share/hwdata \
+ SHARED=no install install-lib
+
+ rm -rf $PKG/usr/share/hwdata/
+}
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh