blob: 8ef8248011129b4dddf812023f3a5c0e55d29b98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Prev Maintainer: Tatsunori Aoki <ginjiro.135 at gmail dot com>
# Maintainer: Takumi <dGFrdW9oQHR1dGEuaW8K | base64 -d>
pkgname=man-pages-ja
pkgver=20231115
pkgrel=1
pkgdesc="Man pages for Japanese"
arch=('any')
url="https://linuxjm.sourceforge.io"
license=('custom')
optdepends=('mandoc: makewhatis support')
makedepends=('perl')
conflicts=('man-pages-ja-git')
install="${pkgname}.install"
source=("$url/man-pages-ja-${pkgver}.tar.gz")
md5sums=('3d6fcdcbbb4452dcb8d4c41b12f8c062')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
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
sed -i 's/$LANG/ja_JP.UTF-8/g' script/configure.perl
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
yes '' | make config
}
package() {
mkdir -p ${pkgdir}/usr/share/man/ja_JP.UTF-8
cd ${srcdir}/${pkgname}-${pkgver}
make install
}
|