summaryrefslogtreecommitdiff
path: root/community/celt0.5.1/PKGBUILD
blob: f2a4fa2e5823e3adbcfde74feaf91d6cfc94208a (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
# Contributor: Lauri Niskanen <ape@ape3000.com>
# Contributor: Ray Rashif <schivmeister@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>

pkgname=celt0.5.1
_basename=celt
pkgver=0.5.1.3
pkgrel=1
pkgdesc="Low-latency audio communication codec - SPICE version"
arch=(i686 x86_64)
url="http://www.celt-codec.org"
license=('BSD')
depends=('libogg')
provides=('celt=0.5.1')
options=('!libtool')
source=(http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz)
md5sums=('67e7b5e45db57a6f1f0a6962f5ecb190')

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

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