1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="Secure Reliable Transport library"
7 url="https://www.srtalliance.org/"
11 makedepends=(git cmake ninja)
12 _commit=0bc3b03202b3159fc9b085b3ae6d66ec071c25d6 # tags/v1.5.1
13 source=("git+https://github.com/Haivision/srt#commit=$_commit")
18 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
26 cmake -S srt -B build -G Ninja \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_BUILD_TYPE=None \
41 DESTDIR="$pkgdir" cmake --install build
44 # vim:set sw=2 sts=-1 et: