summaryrefslogtreecommitdiff
path: root/community/kakasi/PKGBUILD
blob: 76b90aa20bb1e0aef3902ab2ece68df924fa1559 (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
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=kakasi
pkgver=2.3.4
pkgrel=3
pkgdesc="Convert Kanji characters to Hiragana, Katakana or Romaji"
arch=('i686' 'x86_64')
url="http://kakasi.namazu.org/"
license=('GPL')
source=(http://kakasi.namazu.org/stable/${pkgname}-${pkgver}.tar.gz)
depends=('sh')
md5sums=(4eff51aafbd56c9635791a20c03efa8f)
options=(!libtool)

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install || return 1
}