[arch-commits] Commit in gupnp-av/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Oct 10 19:57:43 UTC 2016


    Date: Monday, October 10, 2016 @ 19:57:43
  Author: heftig
Revision: 278184

0.12.9-1

Modified:
  gupnp-av/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 17:50:14 UTC (rev 278183)
+++ PKGBUILD	2016-10-10 19:57:43 UTC (rev 278184)
@@ -4,7 +4,7 @@
 # Contributor: Denis Zawada <deno at rootnode.net>
 
 pkgname=gupnp-av
-pkgver=0.12.8
+pkgver=0.12.9
 pkgrel=1
 pkgdesc="Library to ease handling and implementation of UPnP A/V profiles"
 arch=(i686 x86_64)
@@ -11,23 +11,34 @@
 url="http://gupnp.org/"
 license=(LGPL)
 depends=(gupnp)
-makedepends=(gobject-introspection gtk-doc vala)
-source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('759bc7d46aff894c282d17f508d9b5be82de96aa74b10cb6b0fc6c5e07cc273c')
+makedepends=(gobject-introspection gtk-doc vala autoconf-archive git)
+_commit=349dd04ccf29dffd866536f08f3fd7ec11bffbde  # tags/gupnp-av-0.12.9^0
+source=("git://git.gnome.org/gupnp-av#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^gupnp-av-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-static
+              --disable-static --enable-gtk-doc --enable-compile-warnings=minimum
   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