summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2021-05-31 00:50:23 +0300
committerAdrian Perez de Castro2021-05-31 00:50:23 +0300
commitf702a415d9e11b1c41d1468f814ae03c4e136a2e (patch)
tree858625db777fac2909043fb83ee9bb341263521a
downloadaur-f702a415d9e11b1c41d1468f814ae03c4e136a2e.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD27
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..98c61c7df310
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = drm_info
+ pkgdesc = Small utility to dump info about DRM devices
+ pkgver = 2.3.0
+ pkgrel = 1
+ url = https://github.com/ascent12/drm_info
+ arch = x86_64
+ license = MIT
+ makedepends = meson
+ makedepends = git
+ depends = libdrm
+ depends = json-c
+ conflicts = drm_info-git
+ source = drm_info-2.3.0.tar.gz::https://github.com/ascent12/drm_info/archive/refs/tags/v2.3.0.tar.gz
+ sha512sums = 111b558f36f7fdcc17bd77be0f4965cc4b69ab63149ea326b16566156e3d619f47033bee8164d9d28dc540c0a453ef774249ec3d37587f42ebe6c97fcc7925d2
+
+pkgname = drm_info
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..218620e2fb38
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!/PKGBUILD
+!/.SRCINFO
+!/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..a85dfa18a4e1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
+pkgname=drm_info
+pkgver=2.3.0
+pkgrel=1
+license=(MIT)
+pkgdesc='Small utility to dump info about DRM devices'
+makedepends=(meson git)
+depends=(libdrm json-c)
+arch=(x86_64)
+url=https://github.com/ascent12/drm_info
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
+conflicts=(drm_info-git)
+sha512sums=('111b558f36f7fdcc17bd77be0f4965cc4b69ab63149ea326b16566156e3d619f47033bee8164d9d28dc540c0a453ef774249ec3d37587f42ebe6c97fcc7925d2')
+
+build() {
+ rm -rf build
+ arch-meson build "${pkgname}-${pkgver}"
+ meson compile -C build
+}
+
+check () {
+ meson test -C build
+}
+
+package() {
+ meson install -C build --destdir="${pkgdir}"
+}