1 # Maintainer: Yangtse <yangtsesu@gmail.com>
2 # Contributor: WU Jun <quark at lihdd dot net>
7 pkgdesc="Library to deal with pinyin."
9 url="https://github.com/libpinyin/libpinyin"
12 makedepends=('automake' 'libtool' 'autoconf')
15 source=(https://github.com/downloads/libpinyin/libpinyin/${pkgname}-${pkgver}.tar.gz)
17 md5sums=('09483a15479331af8704bbb25a179fe2')
20 cd ${srcdir}/libpinyin-$pkgver
22 (aclocal && libtoolize --force && autoheader && automake -a && autoconf) || return 1
23 (./configure --prefix=/usr && make) || return 1
27 cd ${srcdir}/libpinyin-$pkgver
28 make DESTDIR=${pkgdir} install || return 1