summaryrefslogtreecommitdiff
path: root/repo/system/hwids/hwids.xibuild
blob: 1cd6827ae36bdf1d320082c1f2e2d6ba4ea1023f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}