summaryrefslogtreecommitdiff
path: root/community/celt/PKGBUILD
blob: e1f07e22871e765379e643ef864d602e74cd844c (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
29
30
31
32
33
34
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Lauri Niskanen <ape@ape3000.com>
# Contributor: Ray Rashif <schivmeister@gmail.com>

pkgname=celt
pkgver=0.11.1
pkgrel=4
pkgdesc='Low-latency audio communication codec'
arch=('i686' 'x86_64')
url='http://www.celt-codec.org'
license=('BSD')
depends=('libogg')
options=('!libtool')
source=("http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('94fe4acd241da8702c295bcd13a555e6')

build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr \
    --enable-custom-modes

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install

  install -D -m644 COPYING \
    ${pkgdir}/usr/share/licenses/${pkgname}/BSD
}