summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88c36458db6f711c5ce169163314916c42be01ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Librewish <librewish@gmail.com>
# Maintainer: TNE <tne@Å‹arudalinux.org>
# Contributer : Guinux <nuxgui@gmail.com>

pkgname=mhwd-nvidia-470xx
pkgver=470.94
pkgrel=1
pkgdesc="mhwd-nvidia-470xx PCI ID database"
arch=("any")
url="https://garudalinux.org/"
license=('GPL2')
makedepends=('nvidia-470xx-dkms')
source=('mhwd-nvidia')
b2sums=('8141f8b95c403788092c83f067538170734b2a8c6e1f0e5df11677dc15693558f99278680b7d89f8eab0b8cd19b21476b438bcecf303074946d07ad3e43703c8')

package() {
    install -d "$pkgdir"/var/lib/mhwd/ids/pci/

    # Generate mhwd database
    sh -e "$srcdir"/mhwd-nvidia \
        /usr/share/doc/nvidia/README \
        /usr/src/nvidia-$pkgver/nvidia/nv-kernel.o_binary \
        > "$pkgdir"/var/lib/mhwd/ids/pci/nvidia-470xx.ids
}