diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ubuntuone-client-gnome | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ubuntuone-client-gnome')
-rw-r--r-- | community/ubuntuone-client-gnome/PKGBUILD | 36 | ||||
-rw-r--r-- | community/ubuntuone-client-gnome/disable-gsd-plugin.patch | 21 | ||||
-rw-r--r-- | community/ubuntuone-client-gnome/ubuntuone-client-gnome.install | 11 |
3 files changed, 68 insertions, 0 deletions
diff --git a/community/ubuntuone-client-gnome/PKGBUILD b/community/ubuntuone-client-gnome/PKGBUILD new file mode 100644 index 000000000..c1c9c1c7b --- /dev/null +++ b/community/ubuntuone-client-gnome/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 88682 2013-04-21 22:16:52Z heftig $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=ubuntuone-client-gnome +pkgver=4.2.0 +pkgrel=2 +pkgdesc="Some plug-ins, extensions, and data for integrating Ubuntu One features in some core parts of GNOME" +arch=('i686' 'x86_64') +url="https://launchpad.net/ubuntuone-client-gnome" +license=('GPL') +depends=('nautilus' 'gconf' 'ubuntuone-client') +makedepends=('intltool' 'gnome-settings-daemon') +options=('!libtool') +install=$pkgname.install +source=(https://launchpad.net/ubuntuone-client-gnome/stable-4-2/$pkgver/+download/$pkgname-$pkgver.tar.gz + disable-gsd-plugin.patch) +md5sums=('e2f5e4ef6f4eca6ffcf838b3aa46c3ef' + 'e2b1b677844c3b61530f3653808b6644') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Disable gsd plugin, as it's not compatible with gnome-settings-daemon 3.8 + patch -Np1 -i "$srcdir/disable-gsd-plugin.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/ubuntuone-client-gnome/disable-gsd-plugin.patch b/community/ubuntuone-client-gnome/disable-gsd-plugin.patch new file mode 100644 index 000000000..2199536e2 --- /dev/null +++ b/community/ubuntuone-client-gnome/disable-gsd-plugin.patch @@ -0,0 +1,21 @@ +diff -Naur ubuntuone-client-gnome-4.2.0.orig/configure.ac ubuntuone-client-gnome-4.2.0/configure.ac +--- ubuntuone-client-gnome-4.2.0.orig/configure.ac 2013-03-26 20:48:40.000000000 +0100 ++++ ubuntuone-client-gnome-4.2.0/configure.ac 2013-04-09 22:26:38.135983473 +0200 +@@ -5,7 +5,7 @@ + AC_CONFIG_SRCDIR([config.h.in]) + + AM_INIT_AUTOMAKE([1.10 foreign]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + + m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + +diff -Naur ubuntuone-client-gnome-4.2.0.orig/Makefile.am ubuntuone-client-gnome-4.2.0/Makefile.am +--- ubuntuone-client-gnome-4.2.0.orig/Makefile.am 2013-03-21 18:13:58.000000000 +0100 ++++ ubuntuone-client-gnome-4.2.0/Makefile.am 2013-04-09 22:22:05.109626589 +0200 +@@ -1,4 +1,4 @@ +-SUBDIRS = gsd nautilus po ++SUBDIRS = nautilus po + + # Shut libtoolize up + ACLOCAL_AMFLAGS = -I m4 diff --git a/community/ubuntuone-client-gnome/ubuntuone-client-gnome.install b/community/ubuntuone-client-gnome/ubuntuone-client-gnome.install new file mode 100644 index 000000000..7a903e80c --- /dev/null +++ b/community/ubuntuone-client-gnome/ubuntuone-client-gnome.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |