Date: Monday, October 31, 2022 @ 22:03:23
Author: heftig
Revision: 1339893
archrelease: copy trunk to community-testing-x86_64
Added:
gupnp-tools/repos/community-testing-x86_64/
gupnp-tools/repos/community-testing-x86_64/PKGBUILD
(from rev 1339892, gupnp-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: gupnp-tools/repos/community-testing-x86_64/PKGBUILD (from rev 1339892,
gupnp-tools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-10-31 22:03:23 UTC (rev 1339893)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gupnp-tools
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="Utilities and demos to work with UPnP"
+url="https://wiki.gnome.org/Projects/GUPnP"
+arch=(x86_64)
+license=(GPL)
+depends=(gtksourceview4 gupnp gupnp-av)
+makedepends=(meson git)
+options=(debug)
+_commit=8886f95134d95e49d859512fc0c2c62ed63a72b2 # tags/gupnp-tools-0.12.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-tools.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^gupnp-tools-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: