[arch-commits] Commit in postgresql-old-upgrade/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Mon Sep 24 14:36:22 UTC 2012


    Date: Monday, September 24, 2012 @ 10:36:22
  Author: dan
Revision: 166984

upgpkg: postgresql-old-upgrade 9.1.6-1

* Add contrib/ to build; makes upgrading with binary modules actually possible

Modified:
  postgresql-old-upgrade/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-24 14:35:11 UTC (rev 166983)
+++ PKGBUILD	2012-09-24 14:36:22 UTC (rev 166984)
@@ -2,33 +2,43 @@
 # Maintainer: Dan McGee <dan at archlinux.org>
 
 pkgname=postgresql-old-upgrade
-pkgver=9.1.5
+pkgver=9.1.6
 _majorver=${pkgver%.*}
 pkgrel=1
-pkgdesc="Minimal PostgreSQL build for migrating between major versions with pg_upgrade"
+pkgdesc="PostgreSQL build for migrating between major versions with pg_upgrade"
 arch=('i686' 'x86_64')
 url="http://www.postgresql.org/"
 license=('custom:PostgreSQL')
 depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0')
+makedepends=('krb5' 'python2' 'perl' 'tcl')
 source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
 
 build() {
   cd "${srcdir}/postgresql-${pkgver}"
 
   ./configure --prefix=/opt/pgsql-${_majorver} \
-  --with-libxml --with-openssl --without-perl \
-  --without-python --with-pam --without-readline \
-  --with-system-tzdata=/usr/share/zoneinfo --disable-nls \
+  --with-krb5 \
+  --with-libxml \
+  --with-openssl \
+  --with-perl \
+  --with-python PYTHON=/usr/bin/python2 \
+  --with-tcl \
+  --with-pam \
+  --without-readline \
+  --with-system-tzdata=/usr/share/zoneinfo \
+  --disable-nls \
   --enable-thread-safety
 
   make -C src all
+  make -C contrib all
 }
 
 package() {
   cd "${srcdir}/postgresql-${pkgver}"
 
   # install
-  make DESTDIR="${pkgdir}" -C src install
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
 
   # install license
   install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -37,5 +47,5 @@
   rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include/"
 }
 
-md5sums=('c784decb60615aa94c6a31601bc6ffd2')
-sha256sums=('0b889c132426fc68d8c2eb1bf112bf99cc653e9c95b5f4bbebc55cd9a8d6ce44')
+md5sums=('000755f66c0de58bbd4cd2b89b45b8e2')
+sha256sums=('6e396aca621a95b9f5f7292a79ebe6ce892e36c7f7021814e1bd94bcfc6c31e7')




More information about the arch-commits mailing list