desktop/bzrtp/PKGBUILD
Chaoting Liu b94b5d078e bzrtp: add check function
- this is the real PKGBUILD 2.15.1-2 built upon
2017-03-16 13:30:31 +00:00

31 lines
694 B
Bash

# 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
}