# $Id: PKGBUILD 102291 2013-12-07 11:02:30Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: DrZaius pkgname=opusfile pkgver=0.4 pkgrel=1 pkgdesc='Library for opening, seeking, and decoding .opus files' arch=('i686' 'x86_64' 'mips64el') url='http://www.opus-codec.org/' license=('custom') depends=('libogg' 'openssl' 'opus') source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz) md5sums=('80f3d4106106905255ff84def1b5d9ae') 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 }