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)
13 _commit=0bc3b03202b3159fc9b085b3ae6d66ec071c25d6 # tags/v1.5.1
14 source=("git+https://github.com/Haivision/srt#commit=$_commit")
19 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
27 cmake -S srt -B build -G Ninja \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_BUILD_TYPE=None \
42 DESTDIR="$pkgdir" cmake --install build
45 # vim:set sw=2 sts=-1 et: