1 # Maintainer: György Balló <ballogy@freestart.hu>
2 _pkgname=seahorse-plugins
6 pkgdesc="Plugins and extensions to third party software to provide encryption capability"
8 url="http://live.gnome.org/Seahorse/Plugins"
10 depends=('gconf' 'libcryptui' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils')
11 makedepends=('git' 'gnome-common' 'intltool' 'gnome-doc-utils')
12 options=('!emptydirs' '!libtool')
13 install=$_pkgname.install
15 _gitroot="git://git.gnome.org/seahorse-plugins"
16 _gitname="seahorse-plugins"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
40 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
41 --disable-static --disable-schemas-install --disable-scrollkeeper \
42 --disable-update-mime-database --disable-applet --disable-nautilus \
43 --with-gconf-schema-file-dir=/usr/share/gconf/schemas --with-gtk=3.0
48 cd "$srcdir/$_gitname-build"
50 make DESTDIR="$pkgdir/" install
52 # Remove seahorse-tool (now it's in seahorse-nautilus package)
53 rm "$pkgdir"/usr/bin/seahorse-tool \
54 "$pkgdir"/usr/share/applications/seahorse-pgp-{encrypted,keys,signature}.desktop \
55 "$pkgdir"/usr/share/man/man1/seahorse-tool.1 \
56 "$pkgdir"/usr/share/seahorse-plugins/ui/seahorse-{multi-encrypt,notify,progress}.xml