summaryrefslogtreecommitdiff
path: root/community/libpqxx/PKGBUILD
blob: b3c4e67348b31810af41d289ae1e3e7c2e310a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 59094 2009-11-20 06:50:18Z giovanni $
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=libpqxx
pkgver=4.0
pkgrel=1
pkgdesc="C++ client API for PostgreSQL"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://pqxx.org/development/libpqxx/"
depends=('postgresql-libs>=8.4.1')
options=('!libtool')
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz"
	build-fix.patch)
md5sums=('bd7541f858400a96cbe2a48cb342ad0e'
         'e59f5f63e1800406bf494e19cea479a4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
#  patch -p1 <$srcdir/build-fix.patch
  ./configure --prefix=/usr --enable-shared
  make
  make prefix="${pkgdir}/usr" install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}