1 # Maintainer: MiakoMiyamura <miyamiyamura at gmail dot com>
6 pkgdesc='PostgreSQL Query Cache enables to improve query processing performance extremely faster by caching query results from backends.'
8 url='http://code.google.com/p/pqc/'
10 depends=('libmemcached' 'memcached')
11 makedepends=('automake-1.9' 'subversion')
12 install="${pkgname}.install"
14 md5sums=('b9120b098d96d502aee35460fce3c220')
16 _builddir="${srcdir}"/builddir
17 _svntrunk='http://pqc.googlecode.com/svn/trunk/src'
18 _svnmod="${srcdir}/pqc"
23 msg 'Checking out sources...'
27 svn co "${_svntrunk}" --config-dir ./ "${_svnmod}"
30 if test $? -ne 0; then
31 msg 'Failed to download source code'
35 msg 'Starting build...'
38 cp -r "${_svnmod}" "${_builddir}"
41 automake-1.9 || /opt/automake-1.9/bin/automake-1.9 || return 1
42 ./configure --prefix=/usr || return 1
48 make DESTDIR="${pkgdir}" install || return 1
52 "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE