pkgname=opal pkgver=3.16.2 pkgrel=1 pkgdesc="Open Phone Abstraction Library" arch=('x86_64') url="http://www.opalvoip.org/" license=('MPL') depends=('gsm' 'libtheora' 'ptlib' 'silc-toolkit' 'speex' 'libx264' 'gst-plugins-base-libs' 'celt') makedepends=('ffmpeg' 'libsrtp' 'spandsp' 'x264' 'gst-plugins-base') source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2) sha1sums=('786d0bb251bd14adcdf62703b12440d9ee7ce6cb') build() { cd $srcdir/$pkgname-$pkgver ./configure \ --localstatedir=/var \ --prefix=/usr \ --sysconfdir=/etc \ --with-srtp-dir=/usr/lib make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }