summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLW-archlinux2018-03-15 15:54:34 +0100
committerLW-archlinux2018-03-15 15:54:34 +0100
commitbcc2acc29909ec70f6d05cd29a1596dd779f205d (patch)
tree63dd56c76204d312a5a6ab70c6d2bdf7a3fe6b32
parentc3d6b53cbd6298db4702f0956626bfbf95292239 (diff)
downloadaur-bcc2acc29909ec70f6d05cd29a1596dd779f205d.tar.gz
removed valgrind from makedeps so mesa-git no longer needs it at buildtime. extra/libdrm 2.4.91-2 also is no longer build with valgrind support
-rw-r--r--PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b77c7cb5ac..1c51def1fcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=libdrm-git
_realname=libdrm
-pkgver=2.4.91.r2.g45eee3fd
+pkgver=2.4.91.r10.ga58490de
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services, master git version"
arch=(i686 x86_64)
license=('custom')
depends=('libpciaccess')
-makedepends=('valgrind' 'libxslt' 'docbook-xsl' 'meson')
+makedepends=('libxslt' 'docbook-xsl' 'meson')
checkdepends=('cairo' 'bcunit-cunit-compat')
url="http://dri.freedesktop.org/"
provides=('libdrm')
@@ -33,15 +33,22 @@ pkgver() {
}
build() {
- arch-meson "$_realname" build -D udev=true
- ninja -C build
+ if [ -d _build ]; then
+ rm -rf _build
+ fi
+ meson setup libdrm _build \
+ --prefix /usr \
+ --buildtype plain \
+ --wrap-mode nofallback \
+ -D udev=true
+ ninja -C _build
}
check() {
- meson test -C build
+ meson test -C _build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" ninja -C _build install
install -Dt "$pkgdir"/usr/share/licenses/"$pkgname" -m644 COPYING
}