[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-12-09 Thread Levente Polyak via arch-commits
Date: Wednesday, December 9, 2020 @ 21:52:36
  Author: anthraxx
Revision: 403228

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 403227, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  165 ++---
 1 file changed, 83 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-09 21:52:32 UTC (rev 403227)
+++ PKGBUILD2020-12-09 21:52:36 UTC (rev 403228)
@@ -1,82 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=11.9
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
- 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
-makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
-optdepends=('python2: for PL/Python 2 support'
-'python: for PL/Python 3 support'
-'perl: for PL/Perl support'
-'tcl: for PL/Tcl support')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('35618aa72e0372091f923c42389c6febd07513157b4fbb9408371706afbb6635')
-sha512sums=('2c5c2f51aa01f02af4aa0849441767383e30fef69dd52efa442892f39d2456bfa8bf01f633a265e00eca0745e792609d2c1d33f77d8f29a02f5f374c84f2bf6e')
-b2sums=('655d1c9e6eebde19402a4c220ee674c589641c5b6f4e6298c8c06d3330069178952455f5af58f90b9af196ba9c8fd03db0ccd70b8bc49335e465f0ed537eaf59')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 403227, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-09 21:52:36 UTC (rev 403228)
@@ -0,0 +1,83 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=12.5
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5' 'llvm-libs')
+makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd' 'llvm' 'clang')
+optdepends=('python2: for PL/Python 2 support'
+'python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('bd0d25341d9578b5473c9506300022de26370879581f5fddd243a886ce79ff95')
+sha512sums=('9895bcb1bb26206500666ab4441e663ef83702d428b85a6ff177a4eaf44b0ae06b35d5c4da2672ccb4ec18296649af95bf2f0aed526afaa6a216a8c2d2c5627e')
+b2sums=('7f7458346a0823d155f5caea0061aa14048d6f3cac27b1ea23dba03b02a39f39314ad1d44e589520d5e287004ffd32e042fea99ebfeda24b2cc23867b402d336')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-08-24 Thread Levente Polyak via arch-commits
Date: Monday, August 24, 2020 @ 20:01:03
  Author: anthraxx
Revision: 394664

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 394663, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  163 ++---
 1 file changed, 82 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-24 20:00:59 UTC (rev 394663)
+++ PKGBUILD2020-08-24 20:01:03 UTC (rev 394664)
@@ -1,81 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=11.8
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
- 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
-makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
-optdepends=('python2: for PL/Python 2 support'
-'python: for PL/Python 3 support'
-'perl: for PL/Perl support'
-'tcl: for PL/Tcl support')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('eaf2f4329ccc349c89e950761b81daf8c99bb8966abcab5665ccd6ee95c77ae2')
-sha512sums=('fc3d0ebd224de60bda3fa71b6832958698238e9088cf46a80c376b8996cc3b2d017fde5dce1c1da1e5e6e23b78054aafad7ee1caa744bfb12c52317ccc8a1922')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 394663, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-24 20:01:03 UTC (rev 394664)
@@ -0,0 +1,82 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=11.9
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
+makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
+optdepends=('python2: for PL/Python 2 support'
+'python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('35618aa72e0372091f923c42389c6febd07513157b4fbb9408371706afbb6635')
+sha512sums=('2c5c2f51aa01f02af4aa0849441767383e30fef69dd52efa442892f39d2456bfa8bf01f633a265e00eca0745e792609d2c1d33f77d8f29a02f5f374c84f2bf6e')
+b2sums=('655d1c9e6eebde19402a4c220ee674c589641c5b6f4e6298c8c06d3330069178952455f5af58f90b9af196ba9c8fd03db0ccd70b8bc49335e465f0ed537eaf59')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-05-15 Thread Levente Polyak via arch-commits
Date: Friday, May 15, 2020 @ 18:53:34
  Author: anthraxx
Revision: 383717

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 383716, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  162 ++---
 1 file changed, 81 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-15 18:53:30 UTC (rev 383716)
+++ PKGBUILD2020-05-15 18:53:34 UTC (rev 383717)
@@ -1,81 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=11.7
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
- 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
-makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
-optdepends=('python2: for PL/Python 2 support'
-'python: for PL/Python 3 support'
-'perl: for PL/Perl support'
-'tcl: for PL/Tcl support')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('324ae93a8846fbb6a25d562d271bc441ffa8794654c5b2839384834de220a313')
-sha512sums=('32c7ace228f9895241ce0d925fbfc60c0cd39f4cd35368fb10dc7db046151ffd59a9895b4c30a529627f0103051e84b4992ed60312cccd292489f3037076ca1e')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 383716, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-15 18:53:34 UTC (rev 383717)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=11.8
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
+makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
+optdepends=('python2: for PL/Python 2 support'
+'python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('eaf2f4329ccc349c89e950761b81daf8c99bb8966abcab5665ccd6ee95c77ae2')
+sha512sums=('fc3d0ebd224de60bda3fa71b6832958698238e9088cf46a80c376b8996cc3b2d017fde5dce1c1da1e5e6e23b78054aafad7ee1caa744bfb12c52317ccc8a1922')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-02-16 Thread Levente Polyak via arch-commits
Date: Sunday, February 16, 2020 @ 18:41:28
  Author: anthraxx
Revision: 375704

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 375703, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  162 ++---
 1 file changed, 81 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-16 18:41:23 UTC (rev 375703)
+++ PKGBUILD2020-02-16 18:41:28 UTC (rev 375704)
@@ -1,81 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=11.6
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
- 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
-makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
-optdepends=('python2: for PL/Python 2 support'
-'python: for PL/Python 3 support'
-'perl: for PL/Perl support'
-'tcl: for PL/Tcl support')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('49924f7ff92965fdb20c86e0696f2dc9f8553e1563124ead7beedf8910c13170')
-sha512sums=('de6833c0df8dbac7bc498ac573dc4c3645070d9bbdd6b5d89db3ef41e86e7fc19d5e6450aa46ee2a1392d86c33acf6b9364b2863caac49f45351a46647feecbd')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 375703, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-16 18:41:28 UTC (rev 375704)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=11.7
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
+makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
+optdepends=('python2: for PL/Python 2 support'
+'python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('324ae93a8846fbb6a25d562d271bc441ffa8794654c5b2839384834de220a313')
+sha512sums=('32c7ace228f9895241ce0d925fbfc60c0cd39f4cd35368fb10dc7db046151ffd59a9895b4c30a529627f0103051e84b4992ed60312cccd292489f3037076ca1e')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-01-05 Thread Levente Polyak via arch-commits
Date: Sunday, January 5, 2020 @ 23:52:07
  Author: anthraxx
Revision: 372630

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 372629, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  157 +++--
 1 file changed, 81 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-01-05 23:52:02 UTC (rev 372629)
+++ PKGBUILD2020-01-05 23:52:07 UTC (rev 372630)
@@ -1,76 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=11.6
-_majorver=${pkgver%.*}
-pkgrel=1
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('49924f7ff92965fdb20c86e0696f2dc9f8553e1563124ead7beedf8910c13170')
-sha512sums=('de6833c0df8dbac7bc498ac573dc4c3645070d9bbdd6b5d89db3ef41e86e7fc19d5e6450aa46ee2a1392d86c33acf6b9364b2863caac49f45351a46647feecbd')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 372629, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-01-05 23:52:07 UTC (rev 372630)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=11.6
+_majorver=${pkgver%.*}
+pkgrel=2
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5')
+makedepends=('python' 'python2' 'perl' 'tcl>=8.6.0' 'systemd')
+optdepends=('python2: for PL/Python 2 support'
+'python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('49924f7ff92965fdb20c86e0696f2dc9f8553e1563124ead7beedf8910c13170')
+sha512sums=('de6833c0df8dbac7bc498ac573dc4c3645070d9bbdd6b5d89db3ef41e86e7fc19d5e6450aa46ee2a1392d86c33acf6b9364b2863caac49f45351a46647feecbd')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2019-08-08 Thread Levente Polyak via arch-commits
Date: Thursday, August 8, 2019 @ 20:46:17
  Author: anthraxx
Revision: 359342

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 359341, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  152 ++---
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-08 20:46:12 UTC (rev 359341)
+++ PKGBUILD2019-08-08 20:46:17 UTC (rev 359342)
@@ -1,76 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=10.9
-_majorver=${pkgver%.*}
-pkgrel=1
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('958b317fb007e94f3bef7e2a6641875db8f7f9d73db9f283324f3d6e8f5b0f54')
-sha512sums=('4e2f30a0fd262f2e3ce5fc836425be635326600cd6cd4e117c57f59ea7ab2e9ea463a8d357fe7adb8c0dd0094e43d08efc2a137f8f9975715a5908e35920f98e')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 359341, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-08-08 20:46:17 UTC (rev 359342)
@@ -0,0 +1,76 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=10.10
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('ad4f9b8575f98ed6091bf9bb2cb16f0e52795a5f66546c1f499ca5c69b21f253')
+sha512sums=('60cafe4b27a194949aff482dcce4fa096a9916f37205868437a32afb8964df71934b619a0b891fe85eb7c7f9b11775cffbbedca589e78feb6c4184eb224b48bc')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and Makefile.global
+  cp -a src/pl/plpython{,3}
+  cp -a contrib/hstore_plpython{,3}
+  cp -a contrib/ltree_plpython{,3}
+  cp -a src/Makefile.global{,.python3}
+  make distclean
+
+  # regular build 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2019-06-21 Thread Levente Polyak via arch-commits
Date: Friday, June 21, 2019 @ 06:29:58
  Author: anthraxx
Revision: 356658

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 356657, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  152 ++---
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-21 06:29:52 UTC (rev 356657)
+++ PKGBUILD2019-06-21 06:29:58 UTC (rev 356658)
@@ -1,76 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=10.8
-_majorver=${pkgver%.*}
-pkgrel=3
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('b198c2aadf1d68308127a0f5b51dbe798958ffe60dd999134f6495c489afcd5d')
-sha512sums=('c9cd0298f553e13e32d4315e17e9e61c1fd011391c5203282d9040f26fd08c85f749e6f2cea3bcc42d1ca153a1272bcd773196ef3bf2bdfb74cd12c5f523b7ca')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 356657, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-06-21 06:29:58 UTC (rev 356658)
@@ -0,0 +1,76 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=10.9
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('958b317fb007e94f3bef7e2a6641875db8f7f9d73db9f283324f3d6e8f5b0f54')
+sha512sums=('4e2f30a0fd262f2e3ce5fc836425be635326600cd6cd4e117c57f59ea7ab2e9ea463a8d357fe7adb8c0dd0094e43d08efc2a137f8f9975715a5908e35920f98e')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and Makefile.global
+  cp -a src/pl/plpython{,3}
+  cp -a contrib/hstore_plpython{,3}
+  cp -a contrib/ltree_plpython{,3}
+  cp -a src/Makefile.global{,.python3}
+  make distclean
+
+  # regular build 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2019-05-22 Thread Levente Polyak via arch-commits
Date: Wednesday, May 22, 2019 @ 19:06:44
  Author: anthraxx
Revision: 353862

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 353861, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  152 ++---
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-22 19:06:40 UTC (rev 353861)
+++ PKGBUILD2019-05-22 19:06:44 UTC (rev 353862)
@@ -1,76 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=10.6
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('68a8276f08bda8fbefe562faaf8831cb20664a7a1d3ffdbbcc5b83e08637624b')
-sha512sums=('5d4d5cee2a19ad1820c3411bc4851904e3059cdcacc837350694d54d7d59260b66c565c72cc14a3a10541a8fc49c5185f08f57b7a8c7e4c64ed2614da6e1201f')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-icu
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 353861, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-05-22 19:06:44 UTC (rev 353862)
@@ -0,0 +1,76 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=10.8
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' 'icu' 'systemd-libs' '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=('b198c2aadf1d68308127a0f5b51dbe798958ffe60dd999134f6495c489afcd5d')
+sha512sums=('c9cd0298f553e13e32d4315e17e9e61c1fd011391c5203282d9040f26fd08c85f749e6f2cea3bcc42d1ca153a1272bcd773196ef3bf2bdfb74cd12c5f523b7ca')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and Makefile.global
+  cp -a src/pl/plpython{,3}
+  cp -a contrib/hstore_plpython{,3}
+  cp -a contrib/ltree_plpython{,3}
+  cp -a src/Makefile.global{,.python3}
+  make distclean
+
+  # regular build 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-08-12 Thread Levente Polyak via arch-commits
Date: Sunday, August 12, 2018 @ 16:45:17
  Author: anthraxx
Revision: 331410

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 331409, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  150 ++---
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-08-12 16:45:11 UTC (rev 331409)
+++ PKGBUILD2018-08-12 16:45:17 UTC (rev 331410)
@@ -1,75 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=9.6.9
-_majorver=${pkgver%.*}
-pkgrel=2
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' '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=('b97952e3af02dc1e446f9c4188ff53021cc0eed7ed96f254ae6daf968c443e2e')
-sha512sums=('3ce2a8f3a017d9c0bd0f1b475a9ee02bcb6a4119b0d436757911f444f49f5024bb1a1be07ce16a79e71af77799de1bf952b32279b4566bae075f23a50b8545c6')
-
-build() {
-  cd postgresql-${pkgver}
-  local options=(
---prefix=/opt/pgsql-${_majorver}
---with-gssapi
---with-libxml
---with-openssl
---with-perl
---with-python
---with-tcl
---with-pam
---without-readline
---with-system-tzdata=/usr/share/zoneinfo
---with-uuid=e2fs
---with-systemd
---with-ldap
---disable-nls
---enable-thread-safety
-  )
-
-  # only build plpython3 for now
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python
-  make -C src/pl/plpython all
-  make -C contrib/hstore_plpython all
-  make -C contrib/ltree_plpython all
-
-  # save plpython3 build and Makefile.global
-  cp -a src/pl/plpython{,3}
-  cp -a contrib/hstore_plpython{,3}
-  cp -a contrib/ltree_plpython{,3}
-  cp -a src/Makefile.global{,.python3}
-  make distclean
-
-  # regular build with everything else
-  ./configure ${options[@]} \
-PYTHON=/usr/bin/python2
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # 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
-  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
-  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
-
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 331409, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-08-12 16:45:17 UTC (rev 331410)
@@ -0,0 +1,75 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=9.6.10
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' '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')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and Makefile.global
+  cp -a src/pl/plpython{,3}
+  cp -a contrib/hstore_plpython{,3}
+  cp -a contrib/ltree_plpython{,3}
+  cp -a src/Makefile.global{,.python3}
+  make distclean
+
+  # regular build with everything else
+  

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-05-15 Thread Levente Polyak via arch-commits
Date: Tuesday, May 15, 2018 @ 20:53:24
  Author: anthraxx
Revision: 324305

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 324304, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  127 -
 1 file changed, 75 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-15 20:53:16 UTC (rev 324304)
+++ PKGBUILD2018-05-15 20:53:24 UTC (rev 324305)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=9.6.8
-_majorver=${pkgver%.*}
-pkgrel=1
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib')
-makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('eafdb3b912e9ec34bdd28b651d00226a6253ba65036cb9a41cad2d9e82e3eb70')
-sha512sums=('6b7595c0046308c725d77360b156e979d6bc469b78ac6500f631112f19b2607ca2d816781f8c5fd3bd835c48e079e79ada7af687fbd306a8fec5e160f20dd211')
-
-build() {
-  cd postgresql-${pkgver}
-  ./configure \
---prefix=/opt/pgsql-${_majorver} \
---with-gssapi \
---with-libxml \
---with-openssl \
---with-perl \
---with-python PYTHON=/usr/bin/python2 \
---with-tcl \
---with-pam \
---without-readline \
---with-system-tzdata=/usr/share/zoneinfo \
---with-uuid=e2fs \
---disable-nls \
---enable-thread-safety
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-
-  # install
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # install license
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # clean up unneeded installed items
-  rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 324304, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-15 20:53:24 UTC (rev 324305)
@@ -0,0 +1,75 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=9.6.9
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib' '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=('b97952e3af02dc1e446f9c4188ff53021cc0eed7ed96f254ae6daf968c443e2e')
+sha512sums=('3ce2a8f3a017d9c0bd0f1b475a9ee02bcb6a4119b0d436757911f444f49f5024bb1a1be07ce16a79e71af77799de1bf952b32279b4566bae075f23a50b8545c6')
+
+build() {
+  cd postgresql-${pkgver}
+  local options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-systemd
+--with-ldap
+--disable-nls
+--enable-thread-safety
+  )
+
+  # only build plpython3 for now
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python
+  make -C src/pl/plpython all
+  make -C contrib/hstore_plpython all
+  make -C contrib/ltree_plpython all
+
+  # save plpython3 build and Makefile.global
+  cp -a src/pl/plpython{,3}
+  cp -a contrib/hstore_plpython{,3}
+  cp -a contrib/ltree_plpython{,3}
+  cp -a src/Makefile.global{,.python3}
+  make distclean
+
+  # regular build with everything else
+  ./configure ${options[@]} \
+PYTHON=/usr/bin/python2
+  make -C src all
+  make -C contrib all
+}
+
+package() {
+  cd postgresql-${pkgver}
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
+
+  # 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
+  make -C src/pl/plpython3 DESTDIR="${pkgdir}" install
+  make -C contrib/hstore_plpython3 DESTDIR="${pkgdir}" install
+  make -C contrib/ltree_plpython3 DESTDIR="${pkgdir}" install
+
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 

[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-03-06 Thread Levente Polyak via arch-commits
Date: Tuesday, March 6, 2018 @ 19:24:05
  Author: anthraxx
Revision: 317930

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 317929, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-06 19:23:51 UTC (rev 317929)
+++ PKGBUILD2018-03-06 19:24:05 UTC (rev 317930)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=9.6.7
-_majorver=${pkgver%.*}
-pkgrel=1
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib')
-makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('2ebe3df3c1d1eab78023bdc3ffa55a154aa84300416b075ef996598d78a624c6')
-sha512sums=('6a66cdd5b74ea6dc95628b89bb7663555370be56b3e938f635950628ad5d77443ac8f40c747be1fc1cfc19ca8b0a27f41e52fe4db83a43c7a7bab9bb076c7844')
-
-build() {
-  cd postgresql-${pkgver}
-  ./configure \
---prefix=/opt/pgsql-${_majorver} \
---with-gssapi \
---with-libxml \
---with-openssl \
---with-perl \
---with-python PYTHON=/usr/bin/python2 \
---with-tcl \
---with-pam \
---without-readline \
---with-system-tzdata=/usr/share/zoneinfo \
---with-uuid=e2fs \
---disable-nls \
---enable-thread-safety
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-
-  # install
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # install license
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # clean up unneeded installed items
-  rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 317929, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-03-06 19:24:05 UTC (rev 317930)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=9.6.8
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib')
+makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('eafdb3b912e9ec34bdd28b651d00226a6253ba65036cb9a41cad2d9e82e3eb70')
+sha512sums=('6b7595c0046308c725d77360b156e979d6bc469b78ac6500f631112f19b2607ca2d816781f8c5fd3bd835c48e079e79ada7af687fbd306a8fec5e160f20dd211')
+
+build() {
+  cd postgresql-${pkgver}
+  ./configure \
+--prefix=/opt/pgsql-${_majorver} \
+--with-gssapi \
+--with-libxml \
+--with-openssl \
+--with-perl \
+--with-python PYTHON=/usr/bin/python2 \
+--with-tcl \
+--with-pam \
+--without-readline \
+--with-system-tzdata=/usr/share/zoneinfo \
+--with-uuid=e2fs \
+--disable-nls \
+--enable-thread-safety
+  make -C src all
+  make -C contrib all
+}
+
+package() {
+  cd postgresql-${pkgver}
+
+  # install
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
+
+  # install license
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # clean up unneeded installed items
+  rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-02-23 Thread Levente Polyak via arch-commits
Date: Friday, February 23, 2018 @ 14:34:17
  Author: anthraxx
Revision: 317425

archrelease: copy trunk to extra-x86_64

Added:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD
(from rev 317424, postgresql-old-upgrade/trunk/PKGBUILD)
Deleted:
  postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-23 14:34:09 UTC (rev 317424)
+++ PKGBUILD2018-02-23 14:34:17 UTC (rev 317425)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Dan McGee 
-
-pkgname=postgresql-old-upgrade
-pkgver=9.6.6
-_majorver=${pkgver%.*}
-pkgrel=1
-pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
-url='https://www.postgresql.org/'
-arch=('x86_64')
-license=('custom:PostgreSQL')
-depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib')
-makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
-source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-sha256sums=('399cdffcb872f785ba67e25d275463d74521566318cfef8fe219050d063c8154')
-sha512sums=('ac2f0fe6ef7c4e14f85cd7592d1306d9657b7f35efa6f43a089d7785ab970b8c25aa1e66d83df056c23513d6dbac0a9f54717b3d85758560d02e7f8141914ebc')
-
-build() {
-  cd postgresql-${pkgver}
-  ./configure \
---prefix=/opt/pgsql-${_majorver} \
---with-gssapi \
---with-libxml \
---with-openssl \
---with-perl \
---with-python PYTHON=/usr/bin/python2 \
---with-tcl \
---with-pam \
---without-readline \
---with-system-tzdata=/usr/share/zoneinfo \
---with-uuid=e2fs \
---disable-nls \
---enable-thread-safety
-  make -C src all
-  make -C contrib all
-}
-
-package() {
-  cd postgresql-${pkgver}
-
-  # install
-  make -C src DESTDIR="${pkgdir}" install
-  make -C contrib DESTDIR="${pkgdir}" install
-
-  # install license
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # clean up unneeded installed items
-  rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
-}
-
-# vim: ts=2 sw=2 et:

Copied: postgresql-old-upgrade/repos/extra-x86_64/PKGBUILD (from rev 317424, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-02-23 14:34:17 UTC (rev 317425)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=9.6.7
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam' 
'zlib')
+makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('2ebe3df3c1d1eab78023bdc3ffa55a154aa84300416b075ef996598d78a624c6')
+sha512sums=('6a66cdd5b74ea6dc95628b89bb7663555370be56b3e938f635950628ad5d77443ac8f40c747be1fc1cfc19ca8b0a27f41e52fe4db83a43c7a7bab9bb076c7844')
+
+build() {
+  cd postgresql-${pkgver}
+  ./configure \
+--prefix=/opt/pgsql-${_majorver} \
+--with-gssapi \
+--with-libxml \
+--with-openssl \
+--with-perl \
+--with-python PYTHON=/usr/bin/python2 \
+--with-tcl \
+--with-pam \
+--without-readline \
+--with-system-tzdata=/usr/share/zoneinfo \
+--with-uuid=e2fs \
+--disable-nls \
+--enable-thread-safety
+  make -C src all
+  make -C contrib all
+}
+
+package() {
+  cd postgresql-${pkgver}
+
+  # install
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
+
+  # install license
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # clean up unneeded installed items
+  rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
+}
+
+# vim: ts=2 sw=2 et: