summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsunori Aoki2017-08-26 16:28:32 +0900
committerTatsunori Aoki2017-08-26 16:28:32 +0900
commit03cdb83ce758b9fe1bec43027759ba81dfbc4dc4 (patch)
treef6594bde907ae4ef0861daebddb5fabc75c5b7a7
parent1f51775251241c21ca2304daaab23ad9460503e3 (diff)
downloadaur-03cdb83ce758b9fe1bec43027759ba81dfbc4dc4.tar.gz
mdocml(makewhatis)をoptdependsに追加
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--man-pages-ja.install2
3 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f354b5ad11f..1136dc5ee31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Mon Aug 14 23:54:06 UTC 2017
+# Sat Aug 26 07:27:50 UTC 2017
pkgbase = man-pages-ja
pkgdesc = Man pages for Japanese
pkgver = 20170815
- pkgrel = 1
+ pkgrel = 2
url = https://linuxjm.osdn.jp
install = man-pages-ja.install
arch = any
license = custom
makedepends = perl
+ optdepends = mdocml: makewhatis support
conflicts = man-pages-ja-git
source = https://linuxjm.osdn.jp/man-pages-ja-20170815.tar.gz
md5sums = f3a9826252e71d7dd7668d4e6c298a01
diff --git a/PKGBUILD b/PKGBUILD
index 238484fb965..033d6af01cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Tatsunori Aoki <ginjiro.135 at gmail dot com>
pkgname=man-pages-ja
pkgver=20170815
-pkgrel=1
+pkgrel=2
pkgdesc="Man pages for Japanese"
arch=('any')
url="https://linuxjm.osdn.jp"
license=('custom')
+optdepends=('mdocml: makewhatis support')
makedepends=('perl')
conflicts=('man-pages-ja-git')
install="${pkgname}.install"
diff --git a/man-pages-ja.install b/man-pages-ja.install
index 029a8b4ecc6..2d99cc86645 100644
--- a/man-pages-ja.install
+++ b/man-pages-ja.install
@@ -1,6 +1,6 @@
post_install() {
set -x
- makewhatis -v
+ which makewhatis >/dev/null 2>&1 && makewhatis -v
mandb
}