1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="LDAC Bluetooth encoder library"
7 url="https://github.com/EHfive/ldacBT"
11 makedepends=(git cmake)
12 provides=(libldacBT_{abr,enc}.so)
13 _commit=fbffba45d15d959da6ee04eafe14c0d4721f6030 # tags/v2.0.2.3
14 source=("git+$url#commit=$_commit"
15 "git+https://gitlab.com/eh5/libldac.git")
21 git describe --tags | sed 's/^v//;s/-/+/g'
28 git submodule set-url libldac "$srcdir/libldac"
33 cmake -S ldacBT -B build \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DCMAKE_BUILD_TYPE=None \
41 DESTDIR="$pkgdir" cmake --install build