blob: 0d8b62d769e1c56856f40a8d2d063e8ea5bf8331 (
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
27
28
29
30
31
32
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=librist-git
pkgver=0.2.0rc5.r36.g24ae978
pkgrel=1
pkgdesc='A library that can be used to add the RIST protocol to applications (git version)'
arch=('x86_64')
url='https://code.videolan.org/rist/librist/'
license=('BSD')
depends=('cjson' 'mbedtls')
makedepends=('git' 'meson' 'cmake' 'cmocka' 'lz4')
BUILDENV=('!check')
source=('git+https://code.videolan.org/rist/librist.git')
sha256sums=('SKIP')
pkgver() {
git -C librist describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;;s/\.\(RC\|rc\)/rc/'
}
build() {
arch-meson build librist
ninja -v -C build
}
check() {
ninja -v -C build test
}
package() {
DESTDIR="$pkgdir" ninja -v -C build install
install -D -m644 librist/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|