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

Antonio Rojas arojas at archlinux.org
Mon Dec 9 21:19:14 UTC 2019


    Date: Monday, December 9, 2019 @ 21:19:13
  Author: arojas
Revision: 536441

Update to 4.3

Modified:
  bzrtp/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-09 21:11:34 UTC (rev 536440)
+++ PKGBUILD	2019-12-09 21:19:13 UTC (rev 536441)
@@ -1,28 +1,30 @@
-# Maintainer:
-# Contributor: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=bzrtp
-pkgver=1.0.6
-pkgrel=3
+pkgver=4.3
+pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bzrtp"
-license=('GPL2')
-depends=('libxml2' 'mbedtls' 'bctoolbox')
-makedepends=('bcunit')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+license=(GPL2)
+depends=(libxml2 bctoolbox sqlite)
+makedepends=(bcunit cmake)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz")
-sha256sums=('d551cf45372a180319fd93d7b59823ccff169dc41f67a777932c83def8019260')
+sha256sums=('bd9739b973af1e957ff39f613b5995514657a80152994c5c111a75843da4257e')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
-  CFLAGS="$CFLAGS -Wno-error=cast-function-type"
-  [ -x ./configure ] || ./autogen.sh
-  ./configure --prefix=/usr
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_STATIC=OFF
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list