summaryrefslogtreecommitdiff
path: root/repo/system/hwids.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/hwids.xibuild')
-rw-r--r--repo/system/hwids.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/hwids.xibuild b/repo/system/hwids.xibuild
new file mode 100644
index 0000000..1cd6827
--- /dev/null
+++ b/repo/system/hwids.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+MAKEDEPS="make eudev"
+DEPS=""
+
+PKG_VER=20210613
+SOURCE=https://github.com/gentoo/hwids/archive/hwids-$PKG_VER.tar.gz
+DESC="Hardware Identification databases"
+
+prepare () {
+ sed -i "s/install -p/install/g" Makefile
+}
+
+build () {
+ make UDEV=yes
+}
+
+package () {
+ make DESTDIR=$PKG_DEST DOCDIR="/usr/share/doc/hwids-$PKG_VER" MISCDIR="/usr/share/hwdata" UDEV=yes install
+}