updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / pgxn-client / PKGBUILD
blobef0984fddab5b874f4fd0f8810be8afca3df2d97
1 # Maintainer: Marti Raudsepp <marti@juffo.org>
3 pkgname=pgxn-client
4 pkgver=0.1a3
5 pkgrel=1
6 pkgdesc="Command line tool to interact with the PostgreSQL Extension Network"
7 arch=(any)
8 url="http://pgxn.org/"
9 license=('BSD')
10 depends=('python2')
11 conflicts=('pgxn.client')
12 source=(http://pypi.python.org/packages/source/p/pgxn.client/pgxn.client-$pkgver.tar.gz)
13 md5sums=('36af77f5e511e73f7027f4f0d520f490')
15 build() {
16   cd $srcdir/pgxn.client-$pkgver/
17   python2 setup.py install --root=$pkgdir
19   install -d -m755 "${pkgdir}/usr/share/licenses/$pkgname"
20   install -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/"