summaryrefslogtreecommitdiff
path: root/pcr/drm_info/PKGBUILD
blob: bd678445b99758e2b4107a4fdf98f3d8305346bb (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
28
29
30
31
32
33
34
35
# Maintainer (aur): emersion <contact emersion fr>
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>

# parabola changes and rationale:
#  - Added armv7h and i686 support
#  - Switched to stable release

pkgname=drm_info
pkgver=2.2.0
pkgrel=3
license=('MIT')
pkgdesc='Small utility to dump info about DRM devices'
makedepends=("meson" "git")
depends=("libdrm" "json-c")
conflicts=('drm_info-git')
arch=('armv7h' 'i686' 'x86_64')
url='https://github.com/ascent12/drm_info'
source=("${pkgname}::git+https://github.com/ascent12/drm_info.git#tag=v${pkgver}")
sha1sums=('SKIP')
provides=('drm_info')
conflicts=('drm_info-git')
replaces=('drm_info-git')

build() {
	cd "${srcdir}/${pkgname}"

	meson --prefix=/usr . build
	ninja -C build
}

package() {
	cd "${srcdir}/${pkgname}"

	DESTDIR="$pkgdir/" ninja -C build install
}