[arch-commits] Commit in postgresql-old-upgrade/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Mar 5 11:35:00 UTC 2017
Date: Sunday, March 5, 2017 @ 11:34:59
Author: anthraxx
Revision: 290008
upgpkg: postgresql-old-upgrade 9.5.6-1 (openssl rebuild)
Modified:
postgresql-old-upgrade/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-04 23:03:56 UTC (rev 290007)
+++ PKGBUILD 2017-03-05 11:34:59 UTC (rev 290008)
@@ -1,22 +1,22 @@
-# $Id$
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Dan McGee <dan at archlinux.org>
pkgname=postgresql-old-upgrade
-pkgver=9.5.5
+pkgver=9.5.6
_majorver=${pkgver%.*}
pkgrel=1
-pkgdesc="PostgreSQL build for migrating between major versions with pg_upgrade"
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
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=('e75b182d250ad1fcdd71b280f146db4c')
-sha256sums=('02c65290be74de6604c3fed87c9fd3e6b32e949f0ab8105a75bd7ed5aa71f394')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+sha256sums=('bb9e5f6d34e20783e96e10c1d6c0c09c31749e802aaa46b793ce2522725ae12f')
+sha512sums=('fabaeb2d4841ca2f2fd7b0f9c90368debc91f569ade5ad4dc9250c27d790a97ed58a670319f0fe59404fce7e986e8dafb1408edbe6fc149531bdb230b1b913fe')
build() {
- cd "${srcdir}/postgresql-${pkgver}"
+ cd postgresql-${pkgver}
./configure \
--prefix=/opt/pgsql-${_majorver} \
@@ -38,7 +38,7 @@
}
package() {
- cd "${srcdir}/postgresql-${pkgver}"
+ cd postgresql-${pkgver}
# install
make -C src DESTDIR="${pkgdir}" install
@@ -45,8 +45,10 @@
make -C contrib DESTDIR="${pkgdir}" install
# install license
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# clean up unneeded installed items
- rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include/"
+ rm -rf "${pkgdir}/opt/pgsql-${_majorver}/include"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list