[arch-commits] Commit in libsoup/repos (3 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:35:43 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:35:42
  Author: heftig
Revision: 155210

db-move: moved libsoup from [gnome-unstable] to [testing] (x86_64)

Added:
  libsoup/repos/testing-x86_64/
  libsoup/repos/testing-x86_64/PKGBUILD
    (from rev 155005, libsoup/repos/gnome-unstable-x86_64/PKGBUILD)
Deleted:
  libsoup/repos/gnome-unstable-x86_64/

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: libsoup/repos/testing-x86_64/PKGBUILD (from rev 155005, libsoup/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:35:42 UTC (rev 155210)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=libsoup
+pkgname=('libsoup' 'libsoup-gnome')
+pkgver=2.38.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('glib2' 'libxml2' 'sqlite3' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
+options=('!libtool' '!emptydirs')
+sha256sums=('8fc1470309aacfc45842ec774b5a5de1848d3d59f7c467efaca555b21bef96ad')
+
+build() {
+  cd "$pkgbase-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static
+  make
+}
+
+package_libsoup() {
+  pkgdesc="GNOME HTTP Library - base library"
+  depends=('glib2' 'libxml2' 'glib-networking')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  rm -f "$pkgdir"/usr/lib/libsoup-gnome-2.4.*
+  rm -f "$pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc"
+  rm -rf "$pkgdir/usr/include/libsoup-gnome-2.4"
+  rm -f "$pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib"
+}
+
+package_libsoup-gnome() {
+  pkgdesc="GNOME HTTP Library - GNOME libraries"
+  depends=("libsoup=$pkgver" 'libgnome-keyring')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  rm -f "$pkgdir"/usr/lib/libsoup-2.4.*
+  rm -f "$pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc"
+  rm -rf "$pkgdir/usr/include/libsoup-2.4"
+  rm -rf "$pkgdir/usr/share"
+  rm -f "$pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib"
+}



More information about the arch-commits mailing list