# Arch contribution https://www.archlinux.org/packages/community/x86_64/bzrtp/ pkgname=bzrtp pkgver=1.0.5 pkgrel=2 pkgdesc="Opensource implementation of ZRTP keys exchange protocol" arch=('x86_64') url="http://www.linphone.org/" license=('GPL2') depends=('libxml2' 'mbedtls' 'bctoolbox') makedepends=('bcunit') source=("https://github.com/BelledonneCommunications/bzrtp/archive/${pkgver}.tar.gz") sha256sums=('13fdb99b7b6060965a36cd4a87168a2d07fb9bd4c559b867a03db966cf557fea') build() { cd ${pkgname}-${pkgver} ./autogen.sh ./configure --prefix=/usr make } check() { cd ${pkgname}-${pkgver} make test } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }