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

Dan McGee dan at archlinux.org
Mon Sep 26 21:29:03 UTC 2011


    Date: Monday, September 26, 2011 @ 17:29:03
  Author: dan
Revision: 138524

upgpkg: postgresql 9.1.1-1

major version bump 9.1.1

Modified:
  postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-26 20:58:47 UTC (rev 138523)
+++ PKGBUILD	2011-09-26 21:29:03 UTC (rev 138524)
@@ -75,6 +75,10 @@
 
   make -C doc/src/sgml DESTDIR="${pkgdir}" install-html
   chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/"
+
+  # clean up
+  rmdir "${pkgdir}"/usr/share/man/man{1,3,7}
+  rmdir "${pkgdir}"/usr/share/man
 }
 
 package_postgresql() {
@@ -103,6 +107,7 @@
   rm -rf "${pkgdir}/usr/include/postgresql/internal"
   rm -rf "${pkgdir}/usr/include/libpq"
   find "${pkgdir}/usr/include" -maxdepth 1 -type f -execdir rm {} +
+  rmdir "${pkgdir}/usr/share/doc/postgresql/html"
 
   # install launch script
   install -D -m755 "${srcdir}/postgresql" "${pkgdir}/etc/rc.d/postgresql"




More information about the arch-commits mailing list