Date: Thursday, March 14, 2019 @ 10:30:12 Author: heftig Revision: 347917
archrelease: copy trunk to gnome-unstable-x86_64 Added: gupnp-av/repos/gnome-unstable-x86_64/ gupnp-av/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347916, gupnp-av/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: gupnp-av/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347916, gupnp-av/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2019-03-14 10:30:12 UTC (rev 347917) @@ -0,0 +1,38 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Thijs Vermeir <thijsverm...@gmail.com> +# Contributor: Denis Zawada <d...@rootnode.net> + +pkgname=gupnp-av +pkgver=0.12.11+2+gb5ca07c +pkgrel=1 +pkgdesc="Library to ease handling and implementation of UPnP A/V profiles" +url="https://wiki.gnome.org/Projects/GUPnP" +arch=(x86_64) +license=(LGPL) +depends=(glib2 libxml2) +makedepends=(gobject-introspection gtk-doc vala meson git) +_commit=b5ca07c0117dfb4a9aaf470649294251f3f6ace1 # master +source=("git+https://gitlab.gnome.org/GNOME/gupnp-av.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^gupnp-av-//;s/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build -D gtk_doc=true + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}