Date: Thursday, March 14, 2019 @ 08:27:45 Author: heftig Revision: 347911
archrelease: copy trunk to gnome-unstable-x86_64 Added: gupnp/repos/gnome-unstable-x86_64/ gupnp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347910, gupnp/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: gupnp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347910, gupnp/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2019-03-14 08:27:45 UTC (rev 347911) @@ -0,0 +1,38 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: György Balló <ball...@freestart.hu> + +pkgname=gupnp +pkgver=1.2.0 +pkgrel=1 +pkgdesc="An object-oriented UPNP framework" +url="https://wiki.gnome.org/Projects/GUPnP" +arch=(x86_64) +license=(LGPL) +depends=(gssdp util-linux) +makedepends=(gobject-introspection gtk-doc vala meson git) +optdepends=('python: gupnp-binding-tool') +_commit=386c5332d4daa758ffbc36462f0aca3e7f18f60c # tags/gupnp-1.2.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gupnp.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^gupnp-//;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 +}