summaryrefslogtreecommitdiff
path: root/libs/libpciaccess/MAKEPKG
blob: 2570ae1e36955f7f1b5e62a9a8d44f7748ccfe8c (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
25
26
27
28
29
30
31
32
#!/bin/mkpkg
# description: Generic PCI access library
# url: https://xorg.freedesktop.org

name=libpciaccess
version=0.19
release=1
depends=(zlib hwdata)
makedeps=(meson)
source=(https://www.x.org/releases/individual/lib/libpciaccess-$version.tar.xz)

sha256sums=(
    "3c55aa86c82e54a4e3109786f0463530d53b36b6d1cfd14616454f985dd2aa43"
)

build() {
    meson setup libpciaccess-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D pci-ids=hwdata \
        -D zlib=enabled
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh