summaryrefslogtreecommitdiff
path: root/community/drm_info/APKBUILD
blob: ed90f61aa3fbf6b721b1ba34c26d601e27595027 (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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=drm_info
pkgver=2.7.0
pkgrel=0
pkgdesc="Small utility to dump info about DRM devices"
url="https://gitlab.freedesktop.org/emersion/drm_info"
license="MIT"
arch="all"
options="!check" # no test suite
makedepends="meson libdrm-dev pciutils-dev json-c-dev scdoc"
subpackages="$pkgname-doc"
source="https://gitlab.freedesktop.org/emersion/drm_info/-/archive/v$pkgver/drm_info-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1eeaa103699655dd6b5d0e81e43c5422b843bb8cea991585047c3cc3e118b65c7dac4cef84155346df2c887ca57702a82e6fac202fe0146fe5280e3c83519ab8  drm_info-v2.7.0.tar.gz
"