summaryrefslogtreecommitdiff
path: root/testing/seahorse
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
commit91ef4ffb2e0ba850501329a8bbc0b326788bd58c (patch)
tree3731bbc0887d98ae3a45395f9826cc51ae3473c3 /testing/seahorse
parent28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (diff)
Tue Nov 15 23:14:47 UTC 2011
Diffstat (limited to 'testing/seahorse')
-rw-r--r--testing/seahorse/PKGBUILD40
-rw-r--r--testing/seahorse/seahorse-ssh-askpass.sh3
-rw-r--r--testing/seahorse/seahorse.install21
3 files changed, 64 insertions, 0 deletions
diff --git a/testing/seahorse/PKGBUILD b/testing/seahorse/PKGBUILD
new file mode 100644
index 000000000..fdec5f80c
--- /dev/null
+++ b/testing/seahorse/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 142740 2011-11-14 12:23:22Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Michel Brabants <michel.linux@tiscali.be>
+
+pkgname=seahorse
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="GNOME application for managing PGP keys."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://projects.gnome.org/seahorse/"
+depends=('gtk3' 'libgnome-keyring' 'gnome-keyring' 'libsoup' 'gpgme' 'desktop-file-utils' 'hicolor-icon-theme' 'dconf')
+makedepends=('gettext' 'libldap' 'intltool' 'pkgconfig' 'gnome-doc-utils' 'gobject-introspection' 'openssh' 'libsm')
+optdepends=('openssh: SSH support')
+provides=('x11-ssh-askpass')
+options=('!libtool' '!emptydirs')
+groups=('gnome-extra')
+install=seahorse.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ seahorse-ssh-askpass.sh)
+sha256sums=('25146aa4c4bb4c375ec1afec524e1907852989bd1b0c9e12490326616ac6a7e9'
+ '1792ab2c0bbad446b8fad0a0c9008a75f60a9666c895d37d2adcd827e49fafbb')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-ldap --enable-hkp \
+ --disable-scrollkeeper \
+ --disable-update-mime-database \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir/seahorse-ssh-askpass.sh" \
+ "$pkgdir/etc/profile.d/seahorse-ssh-askpass.sh"
+}
diff --git a/testing/seahorse/seahorse-ssh-askpass.sh b/testing/seahorse/seahorse-ssh-askpass.sh
new file mode 100644
index 000000000..44281ac2b
--- /dev/null
+++ b/testing/seahorse/seahorse-ssh-askpass.sh
@@ -0,0 +1,3 @@
+if [ -z "$SSH_ASKPASS" ]; then
+ export SSH_ASKPASS=/usr/lib/seahorse/seahorse-ssh-askpass
+fi
diff --git a/testing/seahorse/seahorse.install b/testing/seahorse/seahorse.install
new file mode 100644
index 000000000..9a98d52e0
--- /dev/null
+++ b/testing/seahorse/seahorse.install
@@ -0,0 +1,21 @@
+pkgname=seahorse
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+ usr/sbin/gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}