summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3ce0ddfeb619d1ed250644800199a9e420567c9 (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
# Maintainer: Thomas WeiƟschuh <thomas t-8ch de>

pkgname=liblc3
pkgver=1.0.1
pkgrel=1
pkgdesc="Low Complexity Communication Codec"
arch=(x86_64)
url="https://github.com/google/liblc3"
license=('Apache')
makedepends=(meson)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/liblc3/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('3a8a6973c57585370dc9abe1373f8762f90ab0893a6ede410fdd22501caa7cfc')

build() {
	cd "$pkgname-$pkgver"

	rm -r build || true
	arch-meson build -Dtools=true
	meson compile -C build
}

package() {
	cd "$pkgname-$pkgver"

	meson install --destdir "$pkgdir" -C build
}