summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
2 files changed, 17 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c53669d57a4..5eaca1891ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = drm_info
pkgdesc = Small utility to dump info about DRM devices
- pkgver = 2.3.0
- pkgrel = 2
- url = https://github.com/ascent12/drm_info
+ pkgver = 2.4.0
+ pkgrel = 1
+ url = https://gitlab.freedesktop.org/emersion/drm_info
arch = x86_64
+ arch = aarch64
license = MIT
makedepends = meson
- makedepends = git
+ makedepends = scdoc
depends = libdrm
depends = json-c
depends = pciutils
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
+ source = https://gitlab.freedesktop.org/emersion/drm_info/-/archive/v2.4.0/drm_info-v2.4.0.tar.bz2
+ b2sums = 8a7d367eca019e3f0ce85e953460dff4c082f7e3cd4d5a33f0e0b0e85ad1ee1ce468b3ad2b2dd27b3b426ab1b93b08c984747392470a50b853bb61079be60536
pkgname = drm_info
diff --git a/PKGBUILD b/PKGBUILD
index 536b1d425fc..83a22ef1b16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname=drm_info
-pkgver=2.3.0
-pkgrel=2
+pkgver=2.4.0
+pkgrel=1
license=(MIT)
pkgdesc='Small utility to dump info about DRM devices'
-makedepends=(meson git)
+makedepends=(meson scdoc)
depends=(libdrm json-c pciutils)
-arch=(x86_64)
-url=https://github.com/ascent12/drm_info
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
+arch=(x86_64 aarch64)
+url=https://gitlab.freedesktop.org/emersion/drm_info
conflicts=(drm_info-git)
-sha512sums=('111b558f36f7fdcc17bd77be0f4965cc4b69ab63149ea326b16566156e3d619f47033bee8164d9d28dc540c0a453ef774249ec3d37587f42ebe6c97fcc7925d2')
+source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2")
+b2sums=('8a7d367eca019e3f0ce85e953460dff4c082f7e3cd4d5a33f0e0b0e85ad1ee1ce468b3ad2b2dd27b3b426ab1b93b08c984747392470a50b853bb61079be60536')
build() {
rm -rf build
- arch-meson build "${pkgname}-${pkgver}"
+ arch-meson build "${pkgname}-v${pkgver}" -Dlibpci=enabled -Dman-pages=enabled
meson compile -C build
}
@@ -24,4 +24,6 @@ check () {
package() {
meson install -C build --destdir="${pkgdir}"
+ install -Dm644 "${pkgname}-v${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}