[arch-commits] Commit in postgresql-old-upgrade/repos (2 files)
Jan Steffens
heftig at gemini.archlinux.org
Sat Aug 20 14:56:08 UTC 2022
Date: Saturday, August 20, 2022 @ 14:56:08
Author: heftig
Revision: 454076
archrelease: copy trunk to testing-x86_64
Added:
postgresql-old-upgrade/repos/testing-x86_64/
postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD
(from rev 454075, postgresql-old-upgrade/trunk/PKGBUILD)
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
Copied: postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD (from rev 454075, postgresql-old-upgrade/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 14:56:08 UTC (rev 454076)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=postgresql-old-upgrade
+pkgver=13.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' 'llvm-libs')
+makedepends=('python' 'perl' 'tcl>=8.6.0' 'systemd' 'llvm' 'clang')
+optdepends=('python: for PL/Python 3 support'
+ 'perl: for PL/Perl support'
+ 'tcl: for PL/Tcl support')
+options=('debug')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+md5sums=('ec56d5c6dbff89a771d00dd7ec9d4d23')
+sha256sums=('73876fdd3a517087340458dca4ce15b8d2a4dbceb334c0441424551ae6c4cded')
+b2sums=('eb076382027a175789652a6ae8579d9b9c8856918741e8058456d22f1ef89525cff5fafe863bf615f658bc94b740b00d1268825969e37a7cefed6b5c90f402c5')
+
+# Upstream provides md5 and sha256
+
+build() {
+ cd postgresql-${pkgver}
+ local configure_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
+ --with-llvm
+ --without-libxslt
+ --disable-nls
+ --enable-thread-safety
+ --disable-rpath
+ )
+
+ # Fix static libs
+ CFLAGS+=" -ffat-lto-objects"
+
+ ./configure "${configure_options[@]}"
+ 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 -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list