[arch-commits] Commit in gupnp-igd/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Mon Oct 25 19:50:06 UTC 2021


    Date: Monday, October 25, 2021 @ 19:50:06
  Author: heftig
Revision: 426547

archrelease: copy trunk to staging-x86_64

Added:
  gupnp-igd/repos/staging-x86_64/
  gupnp-igd/repos/staging-x86_64/PKGBUILD
    (from rev 426546, gupnp-igd/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: gupnp-igd/repos/staging-x86_64/PKGBUILD (from rev 426546, gupnp-igd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-10-25 19:50:06 UTC (rev 426547)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gupnp-igd
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="A library to handle UPnP IGD port mapping"
+url="https://wiki.gnome.org/Projects/GUPnP"
+arch=(x86_64)
+license=(LGPL)
+depends=(gupnp)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=a0aafc79ac8e258f849cdb2924cb11ec9162d0c5  # tags/1.2.0-correct^0
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-igd.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-correct//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libg{lib,object,io}-2.0.so libg{ssdp,upnp}-1.2.so)
+  provides+=(libgupnp-igd-1.0.so)
+
+  meson install -C build --destdir "$pkgdir"
+}
+



More information about the arch-commits mailing list