summaryrefslogtreecommitdiff
path: root/gnome-unstable/opus/PKGBUILD
blob: c250b548d0dbd113097f435720bbedb0b73ac5b0 (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
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
# Contributor: pumbur

pkgname=opus
pkgver=1.0.1
pkgrel=2
pkgdesc="codec designed for interactive speech and audio transmission over the Internet"
arch=('i686' 'x86_64')
url="http://www.opus-codec.org/"
license=('custom')
depends=('glibc')
source=("http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
options=('!libtool')
md5sums=('bbac19996957b404a1139816e2f357f5')

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

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -m755 -d "${pkgdir}/usr/share/licenses/opus"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/opus/"
}