Unverified Commit 1e2f5393 authored by Daniel Bermond's avatar Daniel Bermond
Browse files

Initial commit

parents
pkgbase = librist
pkgdesc = A library that can be used to add the RIST protocol to applications
pkgver = 0.2.0.rc5
pkgrel = 1
url = https://code.videolan.org/rist/librist/
arch = x86_64
license = BSD
makedepends = meson
makedepends = cmake
makedepends = cmocka
makedepends = lz4
depends = cjson
depends = mbedtls
source = https://code.videolan.org/rist/librist/-/archive/v0.2.0-RC5/librist-v0.2.0-RC5.tar.bz2
sha256sums = bfcac4b78de3139696304a8ec72841fec56370c0b0948044581344d42c6e1ff2
pkgname = librist
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=librist
pkgver=0.2.0.rc5
_srcver=0.2.0-RC5
pkgrel=1
pkgdesc='A library that can be used to add the RIST protocol to applications'
arch=('x86_64')
url='https://code.videolan.org/rist/librist/'
license=('BSD')
depends=('cjson' 'mbedtls')
makedepends=('meson' 'cmake' 'cmocka' 'lz4')
BUILDENV=('!check')
source=("https://code.videolan.org/rist/librist/-/archive/v${_srcver}/${pkgname}-v${_srcver}.tar.bz2")
sha256sums=('bfcac4b78de3139696304a8ec72841fec56370c0b0948044581344d42c6e1ff2')
build() {
arch-meson build "${pkgname}-v${_srcver}"
ninja -v -C build
}
check() {
ninja -v -C build test
}
package() {
DESTDIR="$pkgdir" ninja -v -C build install
install -D -m644 "${pkgname}-v${_srcver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment