archrelease: copy trunk to extra-x86_64
[arch-packages.git] / opus / trunk / PKGBUILD
blob96354e57fb8dafeced896b07567bb97d2b97c4de
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
4 # Contributor: pumbur
6 pkgname=opus
7 pkgver=1.3.1
8 pkgrel=2
9 pkgdesc="Totally open, royalty-free, highly versatile audio codec"
10 arch=(x86_64)
11 url="https://www.opus-codec.org/"
12 license=(BSD)
13 depends=(glibc)
14 makedepends=(doxygen)
15 source=(https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
16 sha256sums=('65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d')
18 build() {
19   cd $pkgname-$pkgver
20   ./configure --prefix=/usr --disable-static --enable-custom-modes
21   make
24 check() {
25   cd $pkgname-$pkgver
26   make check
29 package() {
30   cd $pkgname-$pkgver
31   make DESTDIR="$pkgdir" install
32   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING