[arch-commits] Commit in man-db/trunk (PKGBUILD man-db.hook man-db.timer)

Jan Steffens heftig at archlinux.org
Fri Aug 26 14:03:39 UTC 2016


    Date: Friday, August 26, 2016 @ 14:03:38
  Author: heftig
Revision: 274651

Revert to pure timer

Even a mandb --no-purge in the update path hurts too much. Since the
state of the man db isn't all that important, maintain it with just
the timer again.

Modified:
  man-db/trunk/PKGBUILD
  man-db/trunk/man-db.timer
Deleted:
  man-db/trunk/man-db.hook

--------------+
 PKGBUILD     |    8 +++-----
 man-db.hook  |   11 -----------
 man-db.timer |    2 +-
 3 files changed, 4 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-25 20:49:09 UTC (rev 274650)
+++ PKGBUILD	2016-08-26 14:03:38 UTC (rev 274651)
@@ -4,7 +4,7 @@
 
 pkgname=man-db
 pkgver=2.7.5
-pkgrel=3
+pkgrel=4
 pkgdesc="A utility for reading man pages"
 arch=('i686' 'x86_64')
 url="http://www.nongnu.org/man-db/"
@@ -19,12 +19,11 @@
 install=${pkgname}.install
 source=(http://download-mirror.savannah.gnu.org/releases/man-db/$pkgname-$pkgver.tar.xz{,.sig}
         convert-mans
-        man-db.{hook,timer,service})
+        man-db.{timer,service})
 md5sums=('37da0bb0400cc7b640f33c26f6052202'
          'SKIP'
          '2b7662a7d5b33fe91f9f3e034361a2f6'
-         '7d9606f232c9d2c5f50332d08acea295'
-         '21a0df646f7685e1399b5d478447fc05'
+         '8aaf7b49ae5d157d47d66489656d8b3a'
          '4f9bc83456a9ba46b4c73ca683062d77')
 validpgpkeys=('AC0A4FF12611B6FCCF01C111393587D97D86500B') # Colin Watson <cjwatson at debian.org>
 
@@ -65,7 +64,6 @@
   install -D -m755 ${srcdir}/convert-mans  ${pkgdir}/usr/bin/convert-mans
 
   # install man-db update timer
-  install -D -m644 ${srcdir}/man-db.hook ${pkgdir}/usr/share/libalpm/hooks/man-db.hook
   install -D -m644 ${srcdir}/man-db.timer ${pkgdir}/usr/lib/systemd/system/man-db.timer
   install -D -m644 ${srcdir}/man-db.service ${pkgdir}/usr/lib/systemd/system/man-db.service
   install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants

Deleted: man-db.hook
===================================================================
--- man-db.hook	2016-08-25 20:49:09 UTC (rev 274650)
+++ man-db.hook	2016-08-26 14:03:38 UTC (rev 274651)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/man/*
-
-[Action]
-Description = Updating manpage index...
-When = PostTransaction
-Exec = /bin/sh -c 'mkdir -p /var/cache/man; exec mandb --quiet --no-purge'

Modified: man-db.timer
===================================================================
--- man-db.timer	2016-08-25 20:49:09 UTC (rev 274650)
+++ man-db.timer	2016-08-26 14:03:38 UTC (rev 274651)
@@ -1,5 +1,5 @@
 [Unit]
-Description=Daily man-db cache purge
+Description=Daily man-db cache update
 
 [Timer]
 OnCalendar=daily



More information about the arch-commits mailing list