[arch-commits] Commit in postgresql-old-upgrade/repos (4 files)

Dan McGee dan at nymeria.archlinux.org
Mon May 20 09:22:23 EDT 2013


    Date: Monday, May 20, 2013 @ 15:22:23
  Author: dan
Revision: 186016

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  postgresql-old-upgrade/repos/staging-i686/
  postgresql-old-upgrade/repos/staging-i686/PKGBUILD
    (from rev 186015, postgresql-old-upgrade/trunk/PKGBUILD)
  postgresql-old-upgrade/repos/staging-x86_64/
  postgresql-old-upgrade/repos/staging-x86_64/PKGBUILD
    (from rev 186015, postgresql-old-upgrade/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: postgresql-old-upgrade/repos/staging-i686/PKGBUILD (from rev 186015, postgresql-old-upgrade/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-20 13:22:23 UTC (rev 186016)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=postgresql-old-upgrade
+pkgver=9.1.9
+_majorver=${pkgver%.*}
+pkgrel=2
+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')
+makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
+source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+
+build() {
+  cd "${srcdir}/postgresql-${pkgver}"
+
+  ./configure --prefix=/opt/pgsql-${_majorver} \
+  --with-krb5 \
+  --with-libxml \
+  --with-openssl \
+  --with-perl \
+  --with-python PYTHON=/usr/bin/python2 \
+  --with-tcl \
+  --with-pam \
+  --without-readline \
+  --with-system-tzdata=/usr/share/zoneinfo \
+  --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/"
+}
+
+md5sums=('6b5ea53dde48fcd79acfc8c196b83535')
+sha256sums=('28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8')

Copied: postgresql-old-upgrade/repos/staging-x86_64/PKGBUILD (from rev 186015, postgresql-old-upgrade/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-20 13:22:23 UTC (rev 186016)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=postgresql-old-upgrade
+pkgver=9.1.9
+_majorver=${pkgver%.*}
+pkgrel=2
+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')
+makedepends=('krb5' 'python2' 'perl' 'tcl>=8.6.0')
+source=(http://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+
+build() {
+  cd "${srcdir}/postgresql-${pkgver}"
+
+  ./configure --prefix=/opt/pgsql-${_majorver} \
+  --with-krb5 \
+  --with-libxml \
+  --with-openssl \
+  --with-perl \
+  --with-python PYTHON=/usr/bin/python2 \
+  --with-tcl \
+  --with-pam \
+  --without-readline \
+  --with-system-tzdata=/usr/share/zoneinfo \
+  --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/"
+}
+
+md5sums=('6b5ea53dde48fcd79acfc8c196b83535')
+sha256sums=('28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8')



More information about the arch-commits mailing list