summaryrefslogtreecommitdiff
path: root/community/opusfile/PKGBUILD
blob: d7a6250739e841b05e96dde308be6c0189993a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 81936 2013-01-03 21:13:51Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>

pkgname=opusfile
pkgver=0.2
pkgrel=2
pkgdesc='Library for opening, seeking, and decoding .opus files'
arch=('i686' 'x86_64')
url='http://www.opus-codec.org/'
license=('custom')
depends=('libogg' 'openssl' 'opus')
options=('!libtool')
source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz)
md5sums=('454375f51fb2f84bef9bf2fbf9535bb1')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install

  install -Dm644 COPYING $pkgdir/usr/share/licenses/opusfile/LICENSE
}