diff options
Diffstat (limited to 'community/keysafe/PKGBUILD')
-rw-r--r-- | community/keysafe/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/keysafe/PKGBUILD b/community/keysafe/PKGBUILD new file mode 100644 index 000000000..769cf6a6e --- /dev/null +++ b/community/keysafe/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 30798 2010-10-21 09:25:54Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Magnus Therning <magnus@therning.org> + +pkgname=keysafe +pkgver=0.5 +pkgrel=1 +pkgdesc="A safe place to keep your passwords" +arch=('i686' 'x86_64') +url="http://therning.org/magnus/computer/keysafe/" +license=('GPL') +depends=('gnome-python' 'boost-libs' 'botan') +makedepends=('boost' 'cython') +install=keysafe.install +options=(force !libtool !emptydirs) +source=($pkgname-$pkgver.tar.gz::http://github.com/magthe/keysafe/tarball/v$pkgver) +md5sums=('f21921888a5ea5483dd849e2a5ed924d') + +build() { + cd ${srcdir}/magthe-keysafe* + ./waf configure --prefix=/usr + ./waf build +} + +package() { + cd ${srcdir}/magthe-keysafe* + ./waf --destdir=${pkgdir} install + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/usr/etc/gconf/schemas/*.schemas +} |