summaryrefslogtreecommitdiff
path: root/testing/libsoup/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libsoup/PKGBUILD')
-rw-r--r--testing/libsoup/PKGBUILD49
1 files changed, 0 insertions, 49 deletions
diff --git a/testing/libsoup/PKGBUILD b/testing/libsoup/PKGBUILD
deleted file mode 100644
index 084b15b16..000000000
--- a/testing/libsoup/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 169173 2012-10-18 19:23:38Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=libsoup
-pkgname=('libsoup' 'libsoup-gnome')
-pkgver=2.40.1
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('LGPL')
-makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-options=('!libtool' '!emptydirs')
-sha256sums=('77a55d57e7e8055acd2f44e0cc889b9ba48052e8b7f07e829157d57417ac650a')
-
-build() {
- cd "$pkgbase-$pkgver"
- sed -i -e 's/env python/python2/' libsoup/tld-parser.py
- ./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' 'sqlite')
-
- 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"
-}