# $Id: PKGBUILD 169983 2012-10-30 23:00:21Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot # Contributor: Michel Brabants pkgname=seahorse pkgver=3.6.2 pkgrel=1 pkgdesc="GNOME application for managing PGP keys." arch=(i686 x86_64 'mips64el') license=(GPL) url="http://projects.gnome.org/seahorse/" depends=(gtk3 gcr libsecret libsoup gpgme desktop-file-utils hicolor-icon-theme dconf) makedepends=(libldap intltool yelp-tools 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::3}/$pkgname-$pkgver.tar.xz seahorse-ssh-askpass.sh) sha256sums=('cf3ffa48fdbd4c30fa3cc7ea9e8188c1325416e67e5985c9ce22af0a5fd7560b' '400ea9a6084acc93f1dbd4223b95622bbd48071b763063328efba00de378b68c') build() { cd "$pkgname-$pkgver" # From Debian. patch -p1 -i "$srcdir/10_gpgme_keyring_finalize_typo.patch" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-ldap --enable-hkp \ --disable-schemas-compile make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm755 "$srcdir/seahorse-ssh-askpass.sh" \ "$pkgdir/etc/profile.d/seahorse-ssh-askpass.sh" }