summaryrefslogtreecommitdiff
path: root/community/keysafe/PKGBUILD
blob: 769cf6a6e26feb84dd2907cb9899da6d93c35dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}