[arch-commits] Commit in postgresql/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Wed Oct 27 19:35:42 UTC 2010


    Date: Wednesday, October 27, 2010 @ 15:35:41
  Author: dan
Revision: 97208

Fix license name as noted in FS#21282

Modified:
  postgresql/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-27 19:13:31 UTC (rev 97207)
+++ PKGBUILD	2010-10-27 19:35:41 UTC (rev 97208)
@@ -7,7 +7,7 @@
 pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.postgresql.org"
-license=('BSD')
+license=('custom:PostgreSQL')
 makedepends=('libxml2' 'python2' 'perl')
 source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2 \
         postgresql postgresql.confd build.patch postgresql.pam postgresql.logrotate)
@@ -79,6 +79,9 @@
 
   cd "${srcdir}/${pkgbase}-${pkgver}"
 
+  # install license
+  install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
   make -C doc/src/sgml DESTDIR="${pkgdir}" install-html
   chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/"
 }




More information about the arch-commits mailing list