2018-12-31 23:27:35 +01:00
|
|
|
# Template file for 'libpinyin'
|
|
|
|
pkgname=libpinyin
|
|
|
|
version=2.2.1
|
2019-01-17 05:08:09 +01:00
|
|
|
revision=2
|
2018-12-31 23:27:35 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="intltool libtool pkg-config autoconf-archive autoconf automake
|
|
|
|
wget gnome-common"
|
|
|
|
makedepends="db-devel libglib-devel"
|
|
|
|
short_desc="Support library for PinYin and ZhuYin (Bopofomo)"
|
|
|
|
maintainer="Ben Sung Hsu <pobetiger+github@gmail.com>"
|
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
homepage="https://github.com/libpinyin/libpinyin"
|
|
|
|
distfiles="https://github.com/libpinyin/libpinyin/archive/${version}.tar.gz"
|
|
|
|
checksum=38a434f5f29607dcdf7c721cdff5a2428f03297a99064c7e15a9a64c1b831069
|
|
|
|
nocross="Requires data generators compiled against target system"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
libpinyin-devel_package() {
|
|
|
|
depends="libglib-devel libpinyin-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|