summaryrefslogtreecommitdiff
path: root/gnome-unstable/glib-networking
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
commit718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch)
treebff46acd12c91eafe51a7feebb7f840e9834cc0e /gnome-unstable/glib-networking
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'gnome-unstable/glib-networking')
-rw-r--r--gnome-unstable/glib-networking/PKGBUILD31
-rw-r--r--gnome-unstable/glib-networking/glib-networking.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/gnome-unstable/glib-networking/PKGBUILD b/gnome-unstable/glib-networking/PKGBUILD
new file mode 100644
index 000000000..5e34eee1d
--- /dev/null
+++ b/gnome-unstable/glib-networking/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 152287 2012-03-06 13:21:11Z ibiru $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=glib-networking
+pkgver=2.31.20
+pkgrel=1
+pkgdesc="Network-related giomodules for glib"
+arch=('i686' 'x86_64')
+url="http://www.gtk.org/"
+license=('GPL2')
+depends=('glib2' 'libproxy' 'gnutls' 'libgcrypt' 'ca-certificates' 'gsettings-desktop-schemas')
+makedepends=('intltool')
+options=('!libtool')
+install=glib-networking.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('82015c3601840b733d3f79298b49cce3708c064c3139975d56a44017cf162b5f')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/glib-networking --disable-static
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/gnome-unstable/glib-networking/glib-networking.install b/gnome-unstable/glib-networking/glib-networking.install
new file mode 100644
index 000000000..e1b80c438
--- /dev/null
+++ b/gnome-unstable/glib-networking/glib-networking.install
@@ -0,0 +1,11 @@
+post_install() {
+ /usr/bin/gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}