34 lines
1,010 B
Bash
34 lines
1,010 B
Bash
# Template file for 'libchewing'
|
|
pkgname=libchewing
|
|
version=0.5.1
|
|
revision=4
|
|
build_style=cmake
|
|
hostmakedepends="texinfo"
|
|
makedepends="sqlite-devel"
|
|
depends="libchewing-data-${version}_${revision}"
|
|
short_desc="Intelligent phonetic (Zhuyin/Bopomofo) input method"
|
|
maintainer="Robert Stancil <robert.stancil@mavs.uta.edu>"
|
|
license="LGPL-2.1-only"
|
|
homepage="http://chewing.im/"
|
|
distfiles="https://github.com/chewing/libchewing/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
|
|
checksum=9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b
|
|
nocross="/builddir/libchewing-0.5.1/build/src/tools/init_database: cannot execute binary file"
|
|
|
|
libchewing-devel_package() {
|
|
depends="libchewing>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/info
|
|
}
|
|
}
|
|
|
|
libchewing-data_package() {
|
|
short_desc+=" - data files"
|
|
pkg_install() {
|
|
vmove usr/share/libchewing
|
|
}
|
|
}
|