libdrm/PKGBUILD

33 lines
734 B
Bash
Raw Permalink Normal View History

2024-04-15 21:48:51 +08:00
# Maintainer: Future Linux Team <futurelinux@163.com>
pkgname=libdrm
pkgver=2.4.120
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
arch=('x86_64')
url="https://dri.freedesktop.org/"
license=('custom')
depends=('glibc' 'libpciaccess')
makedepends=('meson')
source=(https://dri.freedesktop.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a)
build() {
cd ${pkgname}-${pkgver}
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dlibdir=/usr/lib64 \
-Dudev=true \
-Dvalgrind=disabled
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}