Date: Tuesday, December 21, 2010 @ 11:14:51
  Author: dan
Revision: 103560

Fix use of pkgname var in package functions, FS#22173

Modified:
  postgresql/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-12-21 13:11:37 UTC (rev 103559)
+++ PKGBUILD    2010-12-21 16:14:51 UTC (rev 103560)
@@ -4,7 +4,7 @@
 pkgbase=postgresql
 pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
 pkgver=9.0.2
-pkgrel=1
+pkgrel=1.1
 arch=('i686' 'x86_64')
 url="http://www.postgresql.org";
 license=('custom:PostgreSQL')
@@ -45,7 +45,7 @@
   cd "${srcdir}/${pkgbase}-${pkgver}"
 
   # install license
-  install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 COPYRIGHT 
"${pkgdir}/usr/share/licenses/postgresql-libs/LICENSE"
 
   # install libs
   for dir in src/interfaces src/bin/pg_config; do
@@ -81,7 +81,7 @@
   cd "${srcdir}/${pkgbase}-${pkgver}"
 
   # install license
-  install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 COPYRIGHT 
"${pkgdir}/usr/share/licenses/postgresql-docs/LICENSE"
 
   make -C doc/src/sgml DESTDIR="${pkgdir}" install-html
   chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/"

Reply via email to