summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/libsoup/PKGBUILD54
-rw-r--r--abs/extra/libsoup/__changelog1
2 files changed, 22 insertions, 33 deletions
diff --git a/abs/extra/libsoup/PKGBUILD b/abs/extra/libsoup/PKGBUILD
index 7144432..ee50628 100644
--- a/abs/extra/libsoup/PKGBUILD
+++ b/abs/extra/libsoup/PKGBUILD
@@ -1,48 +1,36 @@
-# $Id: PKGBUILD 156920 2012-04-23 09:09:05Z ibiru $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgbase=libsoup
-pkgname=('libsoup' 'libsoup-gnome')
-pkgver=2.38.1
+pkgname=libsoup
+pkgver=2.48.0
pkgrel=1
-arch=('i686' 'x86_64')
-license=('LGPL')
-makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking')
+pkgdesc="GNOME HTTP Library"
+arch=(i686 x86_64)
+license=(LGPL)
url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-options=('!libtool' '!emptydirs')
-sha256sums=('71b8923fc7a5fef9abc5420f7f3d666fdb589f43a8c50892d584d58b3c513f9a')
+depends=(glib2 libxml2 glib-networking sqlite)
+makedepends=(intltool gobject-introspection python2)
+checkdepends=(apache php php-apache)
+provides=("libsoup-gnome=$pkgver-$pkgrel")
+conflicts=(libsoup-gnome)
+replaces=(libsoup-gnome)
+options=('!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784')
build() {
- cd "$pkgbase-$pkgver"
+ cd $pkgname-$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"
+check() {
+ cd $pkgname-$pkgver
+ make check
}
-package_libsoup-gnome() {
- pkgdesc="GNOME HTTP Library - GNOME libraries"
- depends=("libsoup=$pkgver" 'libgnome-keyring' 'sqlite')
-
- cd "$pkgbase-$pkgver"
+package() {
+ cd $pkgname-$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"
}
diff --git a/abs/extra/libsoup/__changelog b/abs/extra/libsoup/__changelog
new file mode 100644
index 0000000..29f2771
--- /dev/null
+++ b/abs/extra/libsoup/__changelog
@@ -0,0 +1 @@
+PKGBUILD: remove python from deps