summaryrefslogtreecommitdiff
path: root/extra/celt/PKGBUILD
blob: 211d6015b3c2c3b1f6662557963c108387197d55 (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
# $Id: PKGBUILD 176867 2013-02-02 03:18:42Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Lauri Niskanen <ape@ape3000.com>
# Contributor: Ray Rashif <schivmeister@gmail.com>

pkgname=celt
pkgver=0.11.3
pkgrel=1
pkgdesc="Low-latency audio communication codec"
arch=(i686 x86_64 mips64el)
url="http://www.celt-codec.org/"
license=(BSD)
depends=(libogg)
options=('!libtool')
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('5511732a426cc42bf986ca79b5cdd02f')

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

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}