summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libpciaccess/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/user/libpciaccess/APKBUILD b/user/libpciaccess/APKBUILD
index b6c8ef8ec..48f551e40 100644
--- a/user/libpciaccess/APKBUILD
+++ b/user/libpciaccess/APKBUILD
@@ -1,32 +1,26 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpciaccess
-pkgver=0.17
+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=""
-makedepends="util-macros"
+depends="hwids-pci"
+makedepends="meson"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.xz
limits_h.patch"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr
- make
-}
-
-check() {
- make check
+ meson setup --prefix=/usr build
+ meson compile -C build
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install -C build
}
-sha512sums="8484605c66ef18c8d8a3e029a6d33e26fcaa450c1263790d89ac8b0a160ffb2dfceaa6140ac9ad7d8087283ecbec8ac801f757e44890d547c3cbecd2c922ca47 libpciaccess-0.17.tar.xz
+sha512sums="ef27999446e735df2331e94219ee3dafe9198a2472bb452f63ef9c9c446d5431f9e231e224cfabdeba1402974a5a0064546f9abced4d1770f994f5fc0c2b3310 libpciaccess-0.18.1.tar.xz
331a498059d8b2bfd0a7da0ced3616266ebc129b785090ef1dc19cd645b013428c60d5678fc080bd15ecaf7598ec8b1084509d6bea5d563101169a449b6fe75b limits_h.patch"