mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
30 lines
519 B
Bash
30 lines
519 B
Bash
pkgname=celt
|
|
pkgver=0.11.3
|
|
pkgrel=2
|
|
pkgdesc="Low-latency audio communication codec"
|
|
arch=('x86_64')
|
|
url="http://www.celt-codec.org"
|
|
license=('BSD')
|
|
depends=('libogg')
|
|
source=("http://downloads.xiph.org/releases/celt/celt-$pkgver.tar.gz")
|
|
md5sums=('5511732a426cc42bf986ca79b5cdd02f')
|
|
|
|
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
|
|
}
|
|
|