summaryrefslogtreecommitdiff
path: root/community/celt/PKGBUILD
blob: 5eb99975d20bc8498ce1071bb246b4e6bc864b8f (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
# 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=1
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

  make
}

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

  make DESTDIR=${pkgdir} install

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