db-move: moved gdm from [testing] to [extra] (x86_64)
[arch-packages.git] / celt / trunk / PKGBUILD
blob16c3935a831ac49542cd99fb4c624b2c0d767d30
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Lauri Niskanen <ape@ape3000.com>
4 # Contributor: Ray Rashif <schivmeister@gmail.com>
6 pkgname=celt
7 pkgver=0.11.3
8 pkgrel=4
9 pkgdesc="Low-latency audio communication codec"
10 url="https://gitlab.xiph.org/xiph/celt"
11 arch=(x86_64)
12 license=(BSD)
13 depends=(libogg)
14 makedepends=(git)
15 provides=(libcelt0.so)
16 _commit=6c28805c56d562bec56cc0b31c0d5905ebb5a6ac  # tags/v0.11.3
17 source=("git+$url.git#commit=$_commit")
18 sha256sums=('SKIP')
20 pkgver() {
21   cd celt
22   git describe --tags | sed 's/^v//;s/-/+/g'
25 prepare() {
26   cd celt
27   ./autogen.sh
30 build() {
31   cd celt
32   ./configure --prefix=/usr --enable-custom-modes --disable-static
33   make
36 package() {
37   cd celt
38   make DESTDIR="$pkgdir" install
39   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
42 # vim:set sw=2 et: