diff options
author | graysky | 2016-07-23 11:41:23 -0400 |
---|---|---|
committer | graysky | 2016-07-23 11:41:23 -0400 |
commit | 6ec4ea753f0b1e90f08c4103af109c18c91e2f27 (patch) | |
tree | bb0ea5479a21c4b4b45ae1e1965bbe5d647babf6 | |
parent | a809d382a89a590f6c0439bcf0156303db59211a (diff) | |
download | aur-6ec4ea753f0b1e90f08c4103af109c18c91e2f27.tar.gz |
Update to 2.01-1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | mandb-ondemand.install | 14 |
3 files changed, 13 insertions, 18 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Jul 12 18:32:09 UTC 2016 +# Sat Jul 23 15:41:23 UTC 2016 pkgbase = mandb-ondemand pkgdesc = Rebuilds the manpage index database on-demand to speed-up pacman operations. - pkgver = 1.12 + pkgver = 2.01 pkgrel = 1 url = http://github.com/graysky2/mandb-ondemand install = mandb-ondemand.install @@ -13,8 +13,8 @@ pkgbase = mandb-ondemand optdepends = gzip conflicts = man-db-systemd replaces = man-db-systemd - source = https://github.com/graysky2/mandb-ondemand/archive/v1.12.tar.gz - sha256sums = 84dc80ca3803164d9d3d6b82f0e068d28722e8195d065215d0f0aab79f14116c + source = https://github.com/graysky2/mandb-ondemand/archive/v2.01.tar.gz + sha256sums = c0f83061b8e9c57b3ff6093f7106f919b45efc88d9363ccf6a4c5b7a07bf298a pkgname = mandb-ondemand @@ -1,7 +1,7 @@ # Maintainer: graysky <graysky AT archlinux DOT org> pkgname=mandb-ondemand -pkgver=1.12 +pkgver=2.01 pkgrel=1 pkgdesc="Rebuilds the manpage index database on-demand to speed-up pacman operations." arch=('any') @@ -13,12 +13,7 @@ replaces=('man-db-systemd') optdepends=('gzip') install=${pkgname}.install source=(https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz) -sha256sums=('84dc80ca3803164d9d3d6b82f0e068d28722e8195d065215d0f0aab79f14116c') - -build() { - cd ${pkgname}-${pkgver} - make -} +sha256sums=('c0f83061b8e9c57b3ff6093f7106f919b45efc88d9363ccf6a4c5b7a07bf298a') package() { cd ${pkgname}-${pkgver} diff --git a/mandb-ondemand.install b/mandb-ondemand.install index de902fe24ad0..d2d306d1a621 100644 --- a/mandb-ondemand.install +++ b/mandb-ondemand.install @@ -1,9 +1,9 @@ post_install() { - if [ ! -f /var/cache/man/index.db ]; then - echo "it's recommended to create an initial" - echo "database running as root:" - echo "\"/usr/bin/mandb --quiet\"" - else - true - fi + systemctl start mandb-ondemand.path + systemctl start mandb-ondemand-purge.path +} + +pre_remove() { + systemctl stop mandb-ondemand.path + systemctl stop mandb-ondemand-purge.path } |