updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / pwman3 / PKGBUILD
blob3606b5e1bd672732a8e013899a5e05678e553c5c
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 pkgname=pwman3
4 pkgver=0.0.7
5 pkgrel=1
6 pkgdesc="A console based password management application written in Python"
7 arch=('any')
8 url="http://wiki.bleurgh.com/Pwman"
9 license=('GPL')
10 depends=('pycrypto')
11 optdepends=('mysql-python: for MySQL support'
12             'pypgsql: for PostgreSQL support')
13 source=(http://ftp.debian.org/debian/pool/main/p/$pkgname/${pkgname}_$pkgver.orig.tar.gz
14         $pkgname.patch)
15 md5sums=('6d9aab72774a191e99fdb71d3503718e'
16          '3a7c4a64517db67c336d4011e176a372')
18 build() {
19   cd "$srcdir"/$pkgname-$pkgver
20   # Debian patch to use internal sqlite provided by python>=2.5
21   patch -Np0 -i ../$pkgname.patch || return 1
22   python setup.py install --root="$pkgdir" || return 1