Date: Thursday, January 7, 2016 @ 04:29:18 Author: dan Revision: 257594
archrelease: copy trunk to testing-i686, testing-x86_64 Added: postgresql-old-upgrade/repos/testing-i686/ postgresql-old-upgrade/repos/testing-i686/PKGBUILD (from rev 257593, postgresql-old-upgrade/trunk/PKGBUILD) postgresql-old-upgrade/repos/testing-x86_64/ postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD (from rev 257593, postgresql-old-upgrade/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) Copied: postgresql-old-upgrade/repos/testing-i686/PKGBUILD (from rev 257593, postgresql-old-upgrade/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-01-07 03:29:18 UTC (rev 257594) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> + +pkgname=postgresql-old-upgrade +pkgver=9.4.5 +_majorver=${pkgver%.*} +pkgrel=1 +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' 'pam') +makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0') +source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2) +md5sums=('8b2e3472a8dc786649b4d02d02e039a0') +sha256sums=('b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39') + +build() { + cd "${srcdir}/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 "${srcdir}/postgresql-${pkgver}" + + # 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" + + # clean up unneeded installed items + rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include/" +} Copied: postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD (from rev 257593, postgresql-old-upgrade/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-01-07 03:29:18 UTC (rev 257594) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> + +pkgname=postgresql-old-upgrade +pkgver=9.4.5 +_majorver=${pkgver%.*} +pkgrel=1 +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' 'pam') +makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0') +source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2) +md5sums=('8b2e3472a8dc786649b4d02d02e039a0') +sha256sums=('b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39') + +build() { + cd "${srcdir}/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 "${srcdir}/postgresql-${pkgver}" + + # 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" + + # clean up unneeded installed items + rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include/" +}