[arch-commits] Commit in gupnp-igd/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Nov 20 18:15:40 UTC 2017
Date: Monday, November 20, 2017 @ 18:15:39
Author: heftig
Revision: 310479
0.2.5-1
Modified:
gupnp-igd/trunk/PKGBUILD
----------+
PKGBUILD | 40 +++++++++++++++++++++++++---------------
1 file changed, 25 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-20 18:11:00 UTC (rev 310478)
+++ PKGBUILD 2017-11-20 18:15:39 UTC (rev 310479)
@@ -2,32 +2,42 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=gupnp-igd
-pkgver=0.2.4
-pkgrel=2
+pkgver=0.2.5
+pkgrel=1
pkgdesc="A library to handle UPnP IGD port mapping"
-arch=('x86_64')
-url="http://www.gupnp.org"
-license=('LGPL')
-depends=('gupnp')
-makedepends=('gobject-introspection' 'python2-gobject2')
-checkdepends=('python2-gobject')
-options=('!makeflags')
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver::3}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44')
+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}-${pkgver}
- PYTHON=python2 ./configure --prefix=/usr --enable-python
+ cd $pkgname
+ PYTHON=python2 ./configure --prefix=/usr --enable-python --enable-gtk-doc
make
}
check() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
make check
}
package() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list