summaryrefslogtreecommitdiff
path: root/pcr/drm_info/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/drm_info/PKGBUILD')
-rw-r--r--pcr/drm_info/PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/pcr/drm_info/PKGBUILD b/pcr/drm_info/PKGBUILD
index fb7da719c..6ba318657 100644
--- a/pcr/drm_info/PKGBUILD
+++ b/pcr/drm_info/PKGBUILD
@@ -6,23 +6,20 @@
# - Switched to stable release
pkgname=drm_info
-pkgver=2.2.0.r0.g3907336
-pkgrel=1
+pkgver=2.2.0
+pkgrel=2
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')
-
-pkgver() {
- cd "${srcdir}/${pkgname}"
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
+conflicts=('drm_info-git')
+replaces=('drm_info-git')
build() {
cd "${srcdir}/${pkgname}"