updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pgworksheet / PKGBUILD
blobd56c30672dcd882b6693f376d81375caf028b721
1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
3 pkgname=pgworksheet
4 pkgver=1.9
5 pkgrel=1
6 pkgdesc="A simple GUI frontend to PostgreSQL"
7 arch=('i686')
8 url="http://pgworksheet.projects.postgresql.org/"
9 license=('GPL')
10 depends=('pygtk' 'pypgsql')
11 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
12 md5sums=('f70c8884350ad8a8e266697d23e4cdeb')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   python setup.py install --root=$startdir/pkg --prefix=/usr
18   # Correct some permissions
19   chmod a+r $startdir/pkg/usr/share/pixmaps/pgworksheet.png
20   chmod a+r $startdir/pkg/usr/share/pixmaps/pgworksheet/*
21   chmod a+r $startdir/pkg/usr/share/applications/pgworksheet.desktop