summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/drm_info/PKGBUILD (renamed from pcr/drm_info-git/PKGBUILD)14
1 files changed, 7 insertions, 7 deletions
diff --git a/pcr/drm_info-git/PKGBUILD b/pcr/drm_info/PKGBUILD
index f5334b6f4..fb7da719c 100644
--- a/pcr/drm_info-git/PKGBUILD
+++ b/pcr/drm_info/PKGBUILD
@@ -3,10 +3,10 @@
# parabola changes and rationale:
# - Added armv7h and i686 support
+# - Switched to stable release
-pkgname=drm_info-git
-_pkgname=drm_info
-pkgver=2.1.0.r10.gf90c320
+pkgname=drm_info
+pkgver=2.2.0.r0.g3907336
pkgrel=1
license=('MIT')
pkgdesc='Small utility to dump info about DRM devices'
@@ -14,25 +14,25 @@ makedepends=("meson" "git")
depends=("libdrm" "json-c")
arch=('armv7h' 'i686' 'x86_64')
url='https://github.com/ascent12/drm_info'
-source=("${_pkgname}::git+https://github.com/ascent12/drm_info.git")
+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}"
+ cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
meson --prefix=/usr . build
ninja -C build
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
DESTDIR="$pkgdir/" ninja -C build install
}