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

Levente Polyak anthraxx at archlinux.org
Sun Nov 11 16:57:56 UTC 2018


    Date: Sunday, November 11, 2018 @ 16:57:56
  Author: anthraxx
Revision: 339278

upgpkg: postgresql-old-upgrade 10.6-1

Modified:
  postgresql-old-upgrade/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-11 16:25:39 UTC (rev 339277)
+++ PKGBUILD	2018-11-11 16:57:56 UTC (rev 339278)
@@ -2,7 +2,7 @@
 # Maintainer: Dan McGee <dan at archlinux.org>
 
 pkgname=postgresql-old-upgrade
-pkgver=9.6.10
+pkgver=10.6
 _majorver=${pkgver%.*}
 pkgrel=1
 pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
@@ -9,11 +9,11 @@
 url='https://www.postgresql.org/'
 arch=('x86_64')
 license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 'zlib' 'libsystemd' 'libldap')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 'zlib' 'icu' 'libsystemd' 'libldap')
 makedepends=('krb5' 'python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
 source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('8615acc56646401f0ede97a767dfd27ce07a8ae9c952afdb57163b7234fe8426')
-sha512sums=('960a32c86466f9d5f5491ef163f5c4a99cb5de7312d13371e2223b1d156e31eb2a23ed478e6654bcbb7bd19db9470aaf63473ff661c11c60971b92af5e9daf82')
+sha256sums=('68a8276f08bda8fbefe562faaf8831cb20664a7a1d3ffdbbcc5b83e08637624b')
+sha512sums=('5d4d5cee2a19ad1820c3411bc4851904e3059cdcacc837350694d54d7d59260b66c565c72cc14a3a10541a8fc49c5185f08f57b7a8c7e4c64ed2614da6e1201f')
 
 build() {
   cd postgresql-${pkgver}
@@ -29,6 +29,7 @@
     --without-readline
     --with-system-tzdata=/usr/share/zoneinfo
     --with-uuid=e2fs
+    --with-icu
     --with-systemd
     --with-ldap
     --disable-nls
@@ -49,7 +50,7 @@
   cp -a src/Makefile.global{,.python3}
   make distclean
 
-  # regular build with everything else
+  # regular build with everything
   ./configure ${options[@]} \
     PYTHON=/usr/bin/python2
   make -C src all
@@ -63,8 +64,8 @@
 
   # install plpython3
   mv src/Makefile.global src/Makefile.global.save
-	cp src/Makefile.global.python3 src/Makefile.global
-	touch -r src/Makefile.global.save src/Makefile.global
+  cp src/Makefile.global.python3 src/Makefile.global
+  touch -r src/Makefile.global.save src/Makefile.global
   make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
   make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
   make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list