archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libavtp / trunk / PKGBUILD
blobf674e6ab1e3f11d559d70b572e88b981f7bd9bff
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=libavtp
4 pkgver=0.2.0
5 pkgrel=1
6 pkgdesc="Open source implementation of Audio Video Transport Protocol"
7 arch=(x86_64)
8 url="https://github.com/Avnu/libavtp"
9 license=(BSD)
10 depends=(glibc)
11 makedepends=(cmocka meson)
12 provides=(libavtp.so)
13 options=(debug)
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/Avnu/${pkgname}/archive/v${pkgver}.tar.gz")
15 sha512sums=('b7e7cd412ce7b62b2c0908427448bc88ca3bddd18823694744a98aa9e15e4f4daa7f3621f1005642e5d3072b40dc72f234c8a3f37ef01e0ca5b2ccbc4f90d5c2')
16 b2sums=('a74d7ea25006aa03f4d30b47ca1a76012d3bd1ea74a33b14822fff5521f45923224a15c00a7779478008f7e12dd11575df455e7b1f08f0c83e8b7809faf60f3c')
18 build() {
19   arch-meson build $pkgname-$pkgver
20   ninja -C build
23 check() {
24   meson test -C build
27 package() {
28   DESTDIR="${pkgdir}" meson install -C build
29   install -vDm 644 $pkgname-$pkgver/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -vDm 644 $pkgname-$pkgver/{CONTRIBUTING,HACKING,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"