[arch-commits] Commit in libsrtp/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 17 18:09:08 UTC 2018
Date: Thursday, May 17, 2018 @ 18:09:08
Author: heftig
Revision: 324487
archrelease: copy trunk to extra-x86_64
Added:
libsrtp/repos/extra-x86_64/PKGBUILD
(from rev 324486, libsrtp/trunk/PKGBUILD)
Deleted:
libsrtp/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 103 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 53 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-17 18:08:27 UTC (rev 324486)
+++ PKGBUILD 2018-05-17 18:09:08 UTC (rev 324487)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Yejun Yang <yejunx AT gmail DOT com>
-# Contributor: Michal Krenek <mikos at sg1.cz>
-
-pkgname=libsrtp
-pkgver=2.1.0
-pkgrel=1
-epoch=1
-pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
-url="https://github.com/cisco/libsrtp"
-arch=(x86_64)
-license=(BSD)
-depends=(openssl)
-makedepends=(git)
-checkdepends=(libpcap procps-ng)
-options=(staticlibs)
-_commit=93aba3e767502343c255fad8962dbf0ff29c4ca6 # tags/v2.1.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'
-#}
-
-prepare() {
- cd $pkgname
- autoreconf -fvi
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --enable-openssl
- make all
- make shared_library # Keep separate to link test apps against static lib
-}
-
-check() {
- cd $pkgname
- make runtest
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
-}
Copied: libsrtp/repos/extra-x86_64/PKGBUILD (from rev 324486, libsrtp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-17 18:09:08 UTC (rev 324487)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Yejun Yang <yejunx AT gmail DOT com>
+# Contributor: Michal Krenek <mikos at sg1.cz>
+
+pkgname=libsrtp
+pkgver=2.2.0
+pkgrel=1
+epoch=1
+pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
+url="https://github.com/cisco/libsrtp"
+arch=(x86_64)
+license=(BSD)
+depends=(openssl)
+makedepends=(git)
+checkdepends=(libpcap procps-ng)
+options=(staticlibs)
+_commit=94ac00d5ac6409e3f6409e4a5edfcdbdaa7fdabe # tags/v2.2.0
+source=("git+https://github.com/cisco/libsrtp#commit=$_commit")
+sha256sums=('SKIP')
+
+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
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --enable-openssl
+ make all
+ make shared_library # Keep separate to link test apps against static lib
+}
+
+check() {
+ cd $pkgname
+ make runtest
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}
More information about the arch-commits
mailing list