summaryrefslogtreecommitdiff
path: root/extra/celt0.5.1/PKGBUILD
blob: 6eab9ed408a84cccaf7af75089eac4e19c67ab0c (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
# 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=2
pkgdesc="Low-latency audio communication codec - SPICE version"
arch=(i686 x86_64 mips64el)
url="http://www.celt-codec.org"
license=('BSD')
depends=('libogg')
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"
}