32 lines
1021 B
Bash
32 lines
1021 B
Bash
# Template file for 'libpinyin'
|
|
pkgname=libpinyin
|
|
version=2.3.0
|
|
revision=1
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/libpinyin/libpinyin/${version}/ChangeLog"
|
|
distfiles="https://github.com/libpinyin/libpinyin/archive/${version}.tar.gz"
|
|
checksum=00cb09f267031fb528bebc4621268037fca64677040123ebb184a50afcb43430
|
|
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"
|
|
}
|
|
}
|