# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=opus pkgver=1.1.5 pkgrel=0 pkgdesc="Codec designed for interactive speech and audio transmission over the Internet" url="http://www.opus-codec.org/" arch="all" license="BSD" depends="" depends_dev="" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc" source="https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/opus-$pkgver check() { cd "$builddir" make check } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-custom-modes \ --disable-static \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 } sha512sums="20a211caf3c363a77f042abb5c6da0ca186887511b467d3434e927d0e3b8850ac6ee32c671a60c549343d38617fca77cc10ca01a7e9cc864ecc2dcebed95c6bd opus-1.1.5.tar.gz"