archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libavtp / trunk / PKGBUILD
blobb1a11e5271d1a78aef4b882cf6ac2cdf287323ff
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=libavtp
4 pkgver=0.2.0
5 pkgrel=2
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 makedepends=(cmocka meson)
11 provides=(libavtp.so)
12 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
13 sha512sums=('b7e7cd412ce7b62b2c0908427448bc88ca3bddd18823694744a98aa9e15e4f4daa7f3621f1005642e5d3072b40dc72f234c8a3f37ef01e0ca5b2ccbc4f90d5c2')
14 b2sums=('a74d7ea25006aa03f4d30b47ca1a76012d3bd1ea74a33b14822fff5521f45923224a15c00a7779478008f7e12dd11575df455e7b1f08f0c83e8b7809faf60f3c')
16 build() {
17   arch-meson build $pkgname-$pkgver
18   ninja -C build
21 check() {
22   meson test -C build
25 package() {
26   DESTDIR="${pkgdir}" meson install -C build
27   install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
28   install -vDm 644 $pkgname-$pkgver/{CONTRIBUTING,HACKING,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"