summaryrefslogtreecommitdiff
path: root/extra/seahorse-nautilus
diff options
context:
space:
mode:
Diffstat (limited to 'extra/seahorse-nautilus')
-rw-r--r--extra/seahorse-nautilus/PKGBUILD35
-rw-r--r--extra/seahorse-nautilus/glib236.patch12
-rw-r--r--extra/seahorse-nautilus/seahorse-nautilus.install12
3 files changed, 59 insertions, 0 deletions
diff --git a/extra/seahorse-nautilus/PKGBUILD b/extra/seahorse-nautilus/PKGBUILD
new file mode 100644
index 000000000..8b3765ac9
--- /dev/null
+++ b/extra/seahorse-nautilus/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 194930 2013-09-24 09:45:38Z heftig $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=seahorse-nautilus
+pkgver=3.8.0
+pkgrel=2
+pkgdesc="PGP encryption and signing for nautilus"
+arch=('i686' 'x86_64')
+url="http://git.gnome.org/browse/seahorse-nautilus/"
+license=('GPL')
+depends=('libcryptui' 'gcr' 'nautilus')
+makedepends=('intltool')
+options=('!libtool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ glib236.patch)
+sha256sums=('8173ef08a700ff254fb5637a7f2138ba7625b19ed2102a82fd69f1ecb8072863'
+ '0cefa14a45784c82871815e9bdcebbb96dea50a8e43316475e6a36d5dc47ade5')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Fix compatibility with glib 2.36
+ patch -Np1 -i "$srcdir/glib236.patch"
+
+ ./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/extra/seahorse-nautilus/glib236.patch b/extra/seahorse-nautilus/glib236.patch
new file mode 100644
index 000000000..d0ab03046
--- /dev/null
+++ b/extra/seahorse-nautilus/glib236.patch
@@ -0,0 +1,12 @@
+diff -Naur seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c
+--- seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c 2011-10-24 09:25:37.000000000 +0200
++++ seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c 2013-04-28 22:26:54.483276592 +0200
+@@ -226,8 +226,6 @@
+ progress_fd = -1;
+ return;
+ }
+-
+- g_child_watch_add (progress_pid, progress_cancel, NULL);
+ }
+
+ void
diff --git a/extra/seahorse-nautilus/seahorse-nautilus.install b/extra/seahorse-nautilus/seahorse-nautilus.install
new file mode 100644
index 000000000..21f12fbda
--- /dev/null
+++ b/extra/seahorse-nautilus/seahorse-nautilus.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}