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

Jan de Groot jgc at archlinux.org
Tue Sep 20 12:03:45 UTC 2016


    Date: Tuesday, September 20, 2016 @ 12:03:44
  Author: jgc
Revision: 276749

upgpkg: libsoup 2.56.0-1

Modified:
  libsoup/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-20 11:55:41 UTC (rev 276748)
+++ PKGBUILD	2016-09-20 12:03:44 UTC (rev 276749)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libsoup
-pkgver=2.54.1
+pkgver=2.56.0
 pkgrel=1
 pkgdesc="GNOME HTTP Library"
 arch=(i686 x86_64)
@@ -9,29 +9,41 @@
 license=(LGPL)
 url="http://www.gnome.org"
 depends=(glib2 libxml2 glib-networking sqlite krb5)
-makedepends=(intltool gobject-introspection python vala)
+makedepends=(intltool gobject-introspection python vala git gtk-doc)
 checkdepends=(apache php php-apache)
 provides=("libsoup-gnome=$pkgver-$pkgrel")
 conflicts=(libsoup-gnome)
 replaces=(libsoup-gnome)
 options=('!emptydirs')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('47b42c232034734d66e5f093025843a5d8cc4b2357c011085a2fd04ef02dd633')
+_commit=65f5c1d50f453f219d17eef17eb1b99e5382dcf8
+source=("git://git.gnome.org/libsoup#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static
+      --localstatedir=/var --disable-static --enable-gtk-doc
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   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