updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / luapgsql / PKGBUILD
blob3d91a2aae532950e0b49d516f7c6d4253f0cc282
1 # Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
2 # Maintainer: Laszlo Papp <djszapi at archlinux us>
4 pkgname=luapgsql
5 pkgver=20080401
6 arch=('i686' 'x86_64')
7 pkgrel=2
8 pkgdesc="A lightweight binding of libpq (standard PostgreSQL C client library)"
9 url="http://luaforge.net/projects/luapgsql/"
10 license=('GPL')
11 depends=('postgresql-libs')
12 source=(http://luaforge.net/frs/download.php/3280/$pkgname.$pkgver.tar.gz patch.diff)
13 md5sums=('95e90bb49325839501281bd385c885ca' '531fd2520744a551169c1daf5dae4a88')
15 build() {
16         cd $srcdir/
17         patch -p0 < patch.diff
18         cd $pkgname/
19         make || return 1
20         install -D -m755 pgsql.so $pkgdir/usr/lib/lua/5.1 || return 1