1 # Contributor: noonov <noonov@gmail.com>
6 pkgdesc="A yet another kanji code converter among networks, hosts and terminals"
8 url="http://sourceforge.jp/projects/nkf/"
9 license=('custom:zlib')
11 source=(http://dl.sourceforge.jp/nkf/53171/${pkgname}-${pkgver}.tar.gz)
14 cd ${srcdir}/${pkgname}-${pkgver}
16 sed -i "/^CFLAGS/s|$| ${CFLAGS}|" Makefile
19 ./nkf -w --overwrite nkf.1j
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')