aboutsummaryrefslogtreecommitdiffstats
path: root/community/drm_info/APKBUILD
blob: 91ee2669bc0471d8e688953a7af5b2e0d33aa3b1 (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
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=drm_info
pkgver=2.4.0
pkgrel=0
pkgdesc="Small utility to dump info about DRM devices"
url="https://github.com/ascent12/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/-/releases/v$pkgver/downloads/drm_info-$pkgver.tar.gz"

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

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

sha512sums="
030e4b4231e6133b923386c84e99df8afe62a1b33540080433c656aa288430b010f7d4a817d3c2d92e289c3550ab97eafb0c09b57cde4111d4ced2f645737bf3  drm_info-2.4.0.tar.gz
"