# Contribution from Arch: # Maintainer: Sergej Pupykin pkgname=bctoolbox pkgver=0.5.1 pkgrel=1 pkgdesc="A library written in C that allows you to create and run audio and video streams" arch=('i686' 'x86_64') url="https://github.com/BelledonneCommunications/bctoolbox" license=('GPL') depends=('mbedtls') makedepends=('bcunit') source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz") sha256sums=('7189367f2046deb5d9b463b4b97a7bc015464db260142648bf9226a1362ea6e3') build() { cd ${pkgname}-$pkgver [ -x ./configure ] || ./autogen.sh ./configure --prefix=/usr make } package() { cd ${pkgname}-$pkgver make DESTDIR="${pkgdir}" install }