[arch-commits] Commit in libzrtpcpp/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Sun Apr 28 21:01:41 UTC 2013
Date: Sunday, April 28, 2013 @ 23:01:41
Author: eric
Revision: 183865
upgpkg: libzrtpcpp 2.3.2-1
Upstream update, Rebuild against ucommon 6, Change source url
Modified:
libzrtpcpp/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-28 20:46:39 UTC (rev 183864)
+++ PKGBUILD 2013-04-28 21:01:41 UTC (rev 183865)
@@ -5,7 +5,7 @@
# Contributor: Michel Brabants <michel.brabants at euphonynet.be>
pkgname=libzrtpcpp
-pkgver=2.1.2
+pkgver=2.3.2
pkgrel=1
pkgdesc="A C++ implementation of Phil Zimmermann's ZRTP specification"
arch=('i686' 'x86_64')
@@ -13,13 +13,15 @@
license=('GPL3')
depends=('ccrtp')
makedepends=('cmake')
-source=("https://github.com/downloads/wernerd/ZRTPCPP/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('2f78cffbdb0f3e0ee92609fc01a1b6c5')
+source=(http://ftp.gnu.org/gnu/ccrtp/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('b5f0a72252785862133e9cbc9cbbd3f8'
+ 'SKIP')
+prepare() {
+ sed 's/lib64/lib/g' -i ${pkgname}-${pkgver}/CMakeLists.txt
+}
+
build() {
- sed 's/lib64/lib/g' -i "${srcdir}"/${pkgname}-${pkgver}/CMakeLists.txt
-
- cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -29,6 +31,6 @@
}
package() {
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list