# Arch contribution https://www.archlinux.org/packages/community/x86_64/bzrtp/ pkgname=bzrtp pkgver=1.0.3 pkgrel=2 pkgdesc="Opensource implementation of ZRTP keys exchange protocol" arch=('x86_64') url="http://www.linphone.org/" license=('GPL2') depends=('libxml2' 'mbedtls') source=("https://github.com/BelledonneCommunications/bzrtp/archive/${pkgver}.tar.gz" "mbedtls2.patch") sha256sums=('6c7894749102cea45186481b114119baf63a45c9c998cf227ef014a3b960463c' 'a0859bae57be402dfc497b22d096fcbd3a615de2b13e736eacd3204f6477b7ec') prepare(){ cd ${pkgname}-${pkgver} patch -p1 <$srcdir/mbedtls2.patch } build() { cd ${pkgname}-${pkgver} ./autogen.sh ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }