# Contributions from: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/opusfile pkgname=opusfile pkgver=0.7 pkgrel=1 pkgdesc='Library for opening, seeking, and decoding .opus files' arch=('x86_64') url='http://www.opus-codec.org/' license=('BSD') depends=('libogg' 'openssl' 'opus') source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz) sha256sums=('9e2bed13bc729058591a0f1cab2505e8cfd8e7ac460bf10a78bcc3b125e7c301') build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/opusfile/LICENSE }