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

Jan Steffens heftig at archlinux.org
Thu May 17 18:08:28 UTC 2018


    Date: Thursday, May 17, 2018 @ 18:08:27
  Author: heftig
Revision: 324486

2.2.0-1

Modified:
  libsrtp/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-17 18:00:14 UTC (rev 324485)
+++ PKGBUILD	2018-05-17 18:08:27 UTC (rev 324486)
@@ -5,7 +5,7 @@
 # Contributor: Michal Krenek <mikos at sg1.cz>
 
 pkgname=libsrtp
-pkgver=2.1.0
+pkgver=2.2.0
 pkgrel=1
 epoch=1
 pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
@@ -16,18 +16,21 @@
 makedepends=(git)
 checkdepends=(libpcap procps-ng)
 options=(staticlibs)
-_commit=93aba3e767502343c255fad8962dbf0ff29c4ca6  # tags/v2.1.0
+_commit=94ac00d5ac6409e3f6409e4a5edfcdbdaa7fdabe  # tags/v2.2.0
 source=("git+https://github.com/cisco/libsrtp#commit=$_commit")
 sha256sums=('SKIP')
 
-# Broken: There are tags like v1.5.4 but also "moving" tags like v1 and v1.5
-#pkgver() {
-#  cd $pkgname
-#  git describe --tags | sed 's/^v//;s/-/+/g'
-#}
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
 
 prepare() {
   cd $pkgname
+
+  # Fixup pkgver: There are tags like v1.5.4 but also "moving" tags like v1 and v1.5
+  git tag | grep -Pv '^v\d+.\d+.\d+$' | xargs git tag -d
+
   autoreconf -fvi
 }
 



More information about the arch-commits mailing list