summaryrefslogtreecommitdiff
path: root/community-testing/gnome-settings-daemon-updates/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-01 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-01 23:14:36 +0000
commit0f78806d775c4d46c649425fcb67964d53531db8 (patch)
tree7f0a7491cc53b811c9b5d8f10af67e263391fed6 /community-testing/gnome-settings-daemon-updates/PKGBUILD
parent22b22c6e016b2a86a0d25e68eeb3fdec286f5352 (diff)
Sat Oct 1 23:14:36 UTC 2011
Diffstat (limited to 'community-testing/gnome-settings-daemon-updates/PKGBUILD')
-rw-r--r--community-testing/gnome-settings-daemon-updates/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community-testing/gnome-settings-daemon-updates/PKGBUILD b/community-testing/gnome-settings-daemon-updates/PKGBUILD
new file mode 100644
index 000000000..cb2f33a9b
--- /dev/null
+++ b/community-testing/gnome-settings-daemon-updates/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 56096 2011-10-01 00:59:35Z jconder $
+# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
+
+_pkgname=gnome-settings-daemon
+pkgname=$_pkgname-updates
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Updates plugin for the GNOME Settings daemon"
+arch=('i686' 'x86_64')
+url="http://www.gnome.org"
+license=('GPL')
+depends=('gnome-packagekit' "$_pkgname")
+makedepends=('intltool' 'gtk-doc' 'gnome-desktop')
+options=('!emptydirs' '!libtool')
+install=$_pkgname.install
+source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz"
+ 'arch.patch')
+sha256sums=('a85242ce60b9c9bb3fbad124ee06430a408f39fa31d2d4ea29dc179db724447b'
+ 'e5029915c423f72256c4170f917363c385b6fcd180b87ceba0d7bb11a841d7e9')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/arch.patch"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/gnome-settings-daemon \
+ --disable-static \
+ --enable-pulse \
+ --with-pnpids=/usr/share/libgnome-desktop-3.0/pnp.ids
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make -s
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make -C 'plugins/updates' DESTDIR="${pkgdir}" install
+
+ _schema='org.gnome.settings-daemon.plugins.updates.gschema.xml'
+ install -D -m644 "data/$_schema" "$pkgdir/usr/share/glib-2.0/schemas/$_schema"
+}