[arch-commits] Commit in gupnp-igd/repos (2 files)

Jan Steffens heftig at archlinux.org
Thu Mar 14 08:38:05 UTC 2019


    Date: Thursday, March 14, 2019 @ 08:38:04
  Author: heftig
Revision: 347913

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gupnp-igd/repos/gnome-unstable-x86_64/
  gupnp-igd/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 347912, gupnp-igd/trunk/PKGBUILD)

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

Copied: gupnp-igd/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347912, gupnp-igd/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-03-14 08:38:04 UTC (rev 347913)
@@ -0,0 +1,47 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gupnp-igd
+pkgver=0.2.5+3+gedd78a6
+pkgrel=1
+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)
+_commit=edd78a6561fc1a6e6769342157f0e4db62705fa3  # master
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-igd.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # gupnp 1.2
+  git cherry-pick -n 63531558a16ac2334a59f627b2fca5576dcfbb2e
+
+  gtkdocize
+  autoreconf -fvi
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc
+  make
+}
+
+check() {
+  cd $pkgname
+  # test broken (requires root to bind lowport)
+  : make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}
+


More information about the arch-commits mailing list