[arch-commits] Commit in eglexternalplatform/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Jun 6 20:03:53 UTC 2018


    Date: Wednesday, June 6, 2018 @ 20:03:52
  Author: heftig
Revision: 326068

1.0+2+ge3b182e-1

Modified:
  eglexternalplatform/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-06 20:03:29 UTC (rev 326067)
+++ PKGBUILD	2018-06-06 20:03:52 UTC (rev 326068)
@@ -2,8 +2,8 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=eglexternalplatform
-pkgver=0+3
-pkgrel=2
+pkgver=1.0+2+ge3b182e
+pkgrel=1
 pkgdesc="EGL External Platform interface"
 url=https://github.com/NVIDIA/eglexternalplatform
 arch=(any)
@@ -16,11 +16,12 @@
 
 pkgver() {
   cd $pkgname
-  printf '0+%s' "$(git rev-list --count HEAD)"
+  git describe --tags | sed 's/-/+/g'
 }
 
 prepare() {
   cd $pkgname
+  git tag -f 1.0 53bf47ccd349b7525248687ba0058860168c8580  # Fixup missing tag
 }
 
 package() {



More information about the arch-commits mailing list