summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 99fdde08f13540977b825456c62cbe20f4438a5d (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
# Maintainer: Max Bruckner (FSMaxB)
pkgname=mecab-ipadic
pkgver=2.7.0_20070801
pkgrel=3
pkgdesc="IPA dictionary for mecab."
arch=('any')
url="https://taku910.github.io/mecab"
depends=('mecab')
replaces=('mecab-ipadic-utf8')
license=('custom')
source=("$pkgname-${pkgver/_/-}.tar.gz::https://drive.google.com/uc?id=0B4y35FiV1wh7MWVlSDBCSXZMTXM&export=download")
sha512sums=('35ea662cb62f1967849f7ed5781bd6dafef0fe20d63e88d9a0057666e57ed23d5a0e6fb8d0701a0cc4da43a1050c1b02463bb862decc71c36b7fc2acdc158d86')

build() {
	cd "$pkgname-${pkgver/_/-}"
	./configure --prefix=/usr --with-charset=utf-8
	# change hardcoded mecab installation path
	sed -i 's!libexec/mecab!lib/mecab!g' config.status
	make
}

package() {
	cd "$pkgname-${pkgver/_/-}"
	make DESTDIR="$pkgdir/" install
}