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

Jan Steffens heftig at archlinux.org
Sun Sep 25 03:43:40 UTC 2016


    Date: Sunday, September 25, 2016 @ 03:43:40
  Author: heftig
Revision: 276926

2.9.36+1+g6b3d20e-1

Modified:
  libdmapsharing/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-25 03:41:19 UTC (rev 276925)
+++ PKGBUILD	2016-09-25 03:43:40 UTC (rev 276926)
@@ -2,24 +2,35 @@
 #Maintainer: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=libdmapsharing
-pkgver=2.9.36
+pkgver=2.9.36+1+g6b3d20e
 pkgrel=1
 pkgdesc="A library that implements the DMAP family of protocols"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url="http://www.flyn.org/projects/libdmapsharing/index.html"
-license=('LGPL2.1')
-depends=('libsoup' 'avahi' 'gst-plugins-base-libs' 'gdk-pixbuf2')
-source=(http://www.flyn.org/projects/libdmapsharing/$pkgname-$pkgver.tar.gz)
-md5sums=('b7b1929d5b496b90939ae7231388cd88')
+license=(LGPL2.1)
+depends=(libsoup avahi gst-plugins-base-libs gdk-pixbuf2)
+makedepends=(git gtk-doc)
+_commit=6b3d20ec55b0fe69218e873a35871b93679c6c4f
+source=("git://git.gnome.org/libdmapsharing#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^LIBDMAPSHARING_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr --with-mdns=avahi
+  cd $pkgname
+  ./configure --prefix=/usr --with-mdns=avahi --enable-gtk-doc
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list