updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / pyrseas / PKGBUILD
blob9eb8c9551c91102fdf68447d4553a2a1cfdd113f
1 # Maintainer: Marti Raudsepp <marti@juffo.org>
3 pkgname=pyrseas
4 _pkgname=Pyrseas
5 pkgver=0.4.0
6 pkgrel=1
7 pkgdesc="Framework and utilities to upgrade and maintain a relational database"
8 arch=(any)
9 url="http://www.pyrseas.org/"
10 license=('BSD')
11 depends=('python2' 'python2-distribute' 'python2-psycopg2' 'python2-yaml')
12 conflicts=()
13 source=(http://pypi.python.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz)
15 build() {
16   cd $srcdir/$_pkgname-$pkgver/
17   python2 setup.py install --root=$pkgdir
19   # XXX why are Pyrseas-0.4.0-py2.7.egg-info/* files not world-readable?
20   chmod a+r -R "$pkgdir/usr/lib"
22   install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
23   install -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
25 md5sums=('2673f3561d71397c1c57a9beabb58c04')