summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsunori Aoki2017-05-10 15:49:15 +0900
committerTatsunori Aoki2017-05-10 15:49:15 +0900
commit7069671876ae4e0ea8b998311d01cec88babafca (patch)
tree90367ce2ed6dd8f4afca99e867d1f3afd28f7b29
parenteb952b32907e9d3fc41f89e8a8a69ba5bbb9ec50 (diff)
downloadaur-7069671876ae4e0ea8b998311d01cec88babafca.tar.gz
[update] Perlスクリプトをオリジナル版を残すように修正、ゴミコードを除去
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52d3c6d17d6..bda63705e3f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed May 10 03:22:37 UTC 2017
+# Wed May 10 06:45:52 UTC 2017
pkgbase = man-pages-ja
pkgdesc = Man pages for Japanese
pkgver = 20170415
- pkgrel = 1
+ pkgrel = 2
url = https://linuxjm.osdn.jp
install = man-pages-ja.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d24969f25d4..ab4c1f1f1ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tatsunori Aoki <ginjiro.135 at gmail dot com>
pkgname=man-pages-ja
pkgver=20170415
-pkgrel=1
+pkgrel=2
pkgdesc="Man pages for Japanese"
arch=('any')
url="https://linuxjm.osdn.jp"
@@ -14,8 +14,11 @@ md5sums=('6ec32f9f2c70ea39e945dac06d0ca582')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
- sed -i '/until/i$ans = "y";' script/configure.perl
- sed -i "/usr[/]share[/]man[/]/s@/@${pkgdir}/@1" script/configure.perl
+ cp script/configure.perl script/configure.perl.org
+
+ cat script/configure.perl.org |
+ sed '/until/i$ans = "y";' |
+ sed "/usr[/]share[/]man[/]/s@/@${pkgdir}/@1" > script/configure.perl
}
build() {
@@ -27,7 +30,4 @@ package() {
mkdir -p ${pkgdir}/usr/share/man/${LANG}
cd ${srcdir}/${pkgname}-${pkgver}
make install
-
-# makewhatis
-# mandb
}