updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / keysafe / PKGBUILD
blobad6bf97878d012f93ea126b930eededdaec682a0
1 # $Id: PKGBUILD 51798 2011-07-15 11:51:19Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Magnus Therning <magnus@therning.org>
5 pkgname=keysafe
6 pkgver=0.5
7 pkgrel=3
8 pkgdesc="A safe place to keep your passwords"
9 arch=('i686' 'x86_64')
10 url="http://therning.org/magnus/computer/keysafe/"
11 license=('GPL')
12 depends=('gnome-python' 'boost-libs' 'botan')
13 makedepends=('boost' 'cython')
14 install=keysafe.install
15 options=(!libtool !emptydirs)
16 source=($pkgname-$pkgver.tar.gz::http://github.com/magthe/keysafe/tarball/v$pkgver
17         build-fix.patch)
18 md5sums=('f21921888a5ea5483dd849e2a5ed924d'
19          '128d71e889ebe8862e297bbfd2079c77')
21 build() {
22   cd ${srcdir}/magthe-keysafe*
23   patch -p1 <$srcdir/build-fix.patch
24   ./waf configure --prefix=/usr
25   ./waf build
28 package() {
29   cd ${srcdir}/magthe-keysafe*
30   ./waf --destdir=${pkgdir} install
31   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
32   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas
33   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
34   rm -f ${pkgdir}/usr/etc/gconf/schemas/*.schemas