diff options
-rw-r--r-- | abs/extra/opus/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/opus/PKGBUILD b/abs/extra/opus/PKGBUILD new file mode 100644 index 0000000..f858a1a --- /dev/null +++ b/abs/extra/opus/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com> +# Contributor: pumbur + +pkgname=opus +pkgver=1.1 +pkgrel=1 +pkgdesc="Codec designed for interactive speech and audio transmission over the Internet" +arch=(i686 x86_64) +url="http://www.opus-codec.org/" +license=(BSD) +depends=(glibc) +source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('c5a8cf7c0b066759542bc4ca46817ac6') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --enable-custom-modes --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |