[arch-commits] Commit in libsrtp/repos (4 files)
Jan Steffens
heftig at archlinux.org
Tue Jul 11 20:45:40 UTC 2017
Date: Tuesday, July 11, 2017 @ 20:45:39
Author: heftig
Revision: 300126
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libsrtp/repos/testing-i686/
libsrtp/repos/testing-i686/PKGBUILD
(from rev 300125, libsrtp/trunk/PKGBUILD)
libsrtp/repos/testing-x86_64/
libsrtp/repos/testing-x86_64/PKGBUILD
(from rev 300125, libsrtp/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: libsrtp/repos/testing-i686/PKGBUILD (from rev 300125, libsrtp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-07-11 20:45:39 UTC (rev 300126)
@@ -0,0 +1,43 @@
+# $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=1.5.4
+pkgrel=2
+epoch=1
+pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
+url="https://github.com/cisco/libsrtp"
+arch=(i686 x86_64)
+license=(BSD)
+depends=(glibc)
+makedepends=(git)
+options=(staticlibs)
+_commit=078c4a5b2a4380dea025998ceea9e0a1e3164d2d # tags/v1.5.4
+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
+ make libsrtp.a shared_library
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: libsrtp/repos/testing-x86_64/PKGBUILD (from rev 300125, libsrtp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-07-11 20:45:39 UTC (rev 300126)
@@ -0,0 +1,43 @@
+# $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=1.5.4
+pkgrel=2
+epoch=1
+pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
+url="https://github.com/cisco/libsrtp"
+arch=(i686 x86_64)
+license=(BSD)
+depends=(glibc)
+makedepends=(git)
+options=(staticlibs)
+_commit=078c4a5b2a4380dea025998ceea9e0a1e3164d2d # tags/v1.5.4
+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
+ make libsrtp.a shared_library
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list