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

Eric Belanger eric at archlinux.org
Sun Oct 5 22:33:27 UTC 2008


    Date: Sunday, October 5, 2008 @ 18:33:27
  Author: eric
Revision: 14362

upgpkg: postgresql 8.3.4-1
    fixed docs install location and ownership

Modified:
  postgresql/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-05 22:29:37 UTC (rev 14361)
+++ PKGBUILD	2008-10-05 22:33:27 UTC (rev 14362)
@@ -13,11 +13,9 @@
 options=('!makeflags')
 source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2 \
         postgresql postgresql.confd build.patch)
+md5sums=('c339b9d3c0c4add64c7a76640fc93744' '7d8ea2abb6a8cdacf35604bda659a34a'\
+         'df6ddf9e2ab4700a3415f17c0f4f4172' '4d74f4227dc5e12bf95b3490758d86c9')
 
-md5sums=('c339b9d3c0c4add64c7a76640fc93744'
-         '7d8ea2abb6a8cdacf35604bda659a34a'
-         'df6ddf9e2ab4700a3415f17c0f4f4172'
-         '4d74f4227dc5e12bf95b3490758d86c9')
 
 build() {
   cd ${startdir}/src/$pkgname-$pkgver || return 1
@@ -26,7 +24,7 @@
   patch -Np1 -i ../build.patch || return 1
 
   # configure
-  ./configure --prefix=/usr --mandir=/usr/share/man --with-openssl --datadir=/usr/share/postgresql \
+  ./configure --prefix=/usr --mandir=/usr/share/man --with-docdir=/usr/share/doc --with-openssl --datadir=/usr/share/postgresql \
   	|| return 1
   sed -i -e '/interfaces/d' src/Makefile || return 1
 
@@ -54,4 +52,6 @@
   # install conf file
   install -D -m644 $startdir/src/postgresql.confd \
     $startdir/pkg/etc/conf.d/postgresql || return 1
+
+  chown root:root $startdir/pkg/usr/share/doc/postgresql/html/*
 }




More information about the arch-commits mailing list