[arch-commits] Commit in postgresql-old-upgrade/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri May 15 18:53:35 UTC 2020
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
===================================================================
--- PKGBUILD 2020-05-15 18:53:30 UTC (rev 383716)
+++ PKGBUILD 2020-05-15 18:53:34 UTC (rev 383717)
@@ -1,81 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Dan McGee <dan at archlinux.org>
-
-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)
+++ PKGBUILD 2020-05-15 18:53:34 UTC (rev 383717)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+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[@]} \
+ 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:
More information about the arch-commits
mailing list