Date: Sunday, September 28, 2014 @ 09:31:58
  Author: andyrtr
Revision: 223602

upgpkg: man-db 2.7.0.2-1

upstream update 2.7.0.2

Modified:
  man-db/trunk/PKGBUILD
  man-db/trunk/man-db.install

----------------+
 PKGBUILD       |   10 +++++-----
 man-db.install |    9 ++-------
 2 files changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-09-28 04:03:58 UTC (rev 223601)
+++ PKGBUILD    2014-09-28 07:31:58 UTC (rev 223602)
@@ -3,7 +3,7 @@
 # Contributor: Sergej Pupykin <ser...@aur.archlinux.org>
 
 pkgname=man-db
-pkgver=2.6.7.1
+pkgver=2.7.0.2
 pkgrel=1
 pkgdesc="A utility for reading man pages"
 arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@
 
source=(http://download-mirror.savannah.gnu.org/releases/man-db/$pkgname-$pkgver.tar.xz{,.sig}
         convert-mans
         man-db.{timer,service})
-md5sums=('ce7b697f8e8016a085d9f5975ae6c4fb'
+md5sums=('8ea7be9daf7af7da0fcd619e3da3991c'
          'SKIP'
          '2b7662a7d5b33fe91f9f3e034361a2f6'
          'df6d4f432e3e16c255c785fca1447346'
@@ -27,7 +27,7 @@
          '36fb3f616e42a0e23cf7a4d284e640cd')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr \
     --sbindir=/usr/bin \
     --sysconfdir=/etc \
@@ -40,12 +40,12 @@
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
   # part of groff pkg

Modified: man-db.install
===================================================================
--- man-db.install      2014-09-28 04:03:58 UTC (rev 223601)
+++ man-db.install      2014-09-28 07:31:58 UTC (rev 223602)
@@ -5,13 +5,8 @@
 }
 
 post_upgrade() {
-  if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
-     echo "systemuser \"man\" is no more required"
-     echo "run \"userdel man\". please also"
-     echo "chown root:root /var/cache/man"
-  fi
-  # force database rebuild to get rid off badly imported pages
-  if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
+  # force database rebuild as recommended per upstream
+  if [ "`vercmp $2 2.7.0`" -lt 0 ]; then
      echo "(re)building database..."
      mandb -c --quiet
   fi

Reply via email to