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

Jan Steffens heftig at archlinux.org
Mon Nov 20 18:17:13 UTC 2017


    Date: Monday, November 20, 2017 @ 18:17:12
  Author: heftig
Revision: 310481

archrelease: copy trunk to extra-x86_64

Added:
  gupnp-igd/repos/extra-x86_64/PKGBUILD
    (from rev 310480, gupnp-igd/trunk/PKGBUILD)
Deleted:
  gupnp-igd/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 43 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-20 18:16:47 UTC (rev 310480)
+++ PKGBUILD	2017-11-20 18:17:12 UTC (rev 310481)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=gupnp-igd
-pkgver=0.2.4
-pkgrel=2
-pkgdesc="A library to handle UPnP IGD port mapping"
-arch=('i686' 'x86_64')
-url="http://www.gupnp.org"
-license=('LGPL')
-depends=('gupnp')
-makedepends=('gobject-introspection' 'python2-gobject2')
-checkdepends=('python2-gobject')
-options=('!makeflags')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver::3}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  PYTHON=python2 ./configure --prefix=/usr --enable-python
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}
-

Copied: gupnp-igd/repos/extra-x86_64/PKGBUILD (from rev 310480, gupnp-igd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-20 18:17:12 UTC (rev 310481)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gupnp-igd
+pkgver=0.2.5
+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 python2-gobject2 git gnome-common)
+checkdepends=(python2-gobject)
+_commit=5d9c48f3de6277b56c86e7131d84a1b24f30d819  # tags/0.2.5^0
+source=("git+https://git.gnome.org/browse/gupnp-igd#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  PYTHON=python2 ./configure --prefix=/usr --enable-python --enable-gtk-doc
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="${pkgdir}" install
+}
+


More information about the arch-commits mailing list