updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / nkf / PKGBUILD
blob7c55dc20896e6548ffe2c4735d0b37d1c25ee8b5
1 # Contributor: noonov <noonov@gmail.com>
3 pkgname=nkf
4 pkgver=2.1.2
5 pkgrel=1
6 pkgdesc="A yet another kanji code converter among networks, hosts and terminals"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.jp/projects/nkf/"
9 license=('custom:zlib')
10 depends=('glibc')
11 source=(http://dl.sourceforge.jp/nkf/53171/${pkgname}-${pkgver}.tar.gz)
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
16   sed -i "/^CFLAGS/s|$| ${CFLAGS}|" Makefile
18   make
19   ./nkf -w --overwrite nkf.1j
22 package() {
23   cd ${srcdir}/${pkgname}-${pkgver}
25   install -D -m755 nkf    ${pkgdir}/usr/bin/nkf
26   install -D -m644 nkf.1  ${pkgdir}/usr/share/man/man1/nkf.1
27   install -D -m644 nkf.1j ${pkgdir}/usr/share/man/ja/man1/nkf.1
30 md5sums=('973b0b4d5ca5f0f8153e4d68b8412a39')