1 # Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
5 pkgdesc="A tool to tune the config file for PostgreSQL"
7 url="http://pgfoundry.org/projects/pgtune/"
10 source=($pkgname-$pkgver.tar.gz::'http://pgfoundry.org/frs/download.php/2449/')
11 md5sums=('a765e0fc120bad2828167004b277f2d0')
13 cd "$srcdir/$pkgname-$pkgver"
14 sed -e s,/usr/bin/python,/usr/bin/python2,g -i pgtune
18 cd "$srcdir/$pkgname-$pkgver"
20 mkdir -p "$pkgdir/usr/bin"
21 install -D -m 555 pgtune "$pkgdir/usr/bin/pgtune"
22 mkdir -p "$pkgdir/usr/share/pgtune/settings/"
23 cp pg_settings* "$pkgdir/usr/share/pgtune/settings/"
24 install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
28 # vim:set ts=2 sw=2 et: