summaryrefslogtreecommitdiff
path: root/user/libpciaccess/APKBUILD
blob: 48f551e4083a571513a43ab55699abe2543188d0 (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpciaccess
pkgver=0.18.1
pkgrel=0
pkgdesc="X11 PCI access library"
url="https://www.X.Org/"
arch="all"
options="!check" # no test suite
license="MIT AND X11"
depends="hwids-pci"
makedepends="meson"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.xz
	limits_h.patch"

build() {
	meson setup --prefix=/usr build
	meson compile -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}

sha512sums="ef27999446e735df2331e94219ee3dafe9198a2472bb452f63ef9c9c446d5431f9e231e224cfabdeba1402974a5a0064546f9abced4d1770f994f5fc0c2b3310  libpciaccess-0.18.1.tar.xz
331a498059d8b2bfd0a7da0ced3616266ebc129b785090ef1dc19cd645b013428c60d5678fc080bd15ecaf7598ec8b1084509d6bea5d563101169a449b6fe75b  limits_h.patch"