30 lines
934 B
Bash
30 lines
934 B
Bash
# Template file for 'libthai'
|
||
pkgname=libthai
|
||
version=0.1.29
|
||
revision=1
|
||
build_style=gnu-configure
|
||
hostmakedepends="pkg-config"
|
||
makedepends="libdatrie-devel"
|
||
short_desc="Thai language support routines"
|
||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||
license="LGPL-2.1-or-later"
|
||
homepage="https://linux.thai.net/projects/libthai"
|
||
changelog="https://raw.githubusercontent.com/tlwg/libthai/master/ChangeLog"
|
||
distfiles="http://linux.thai.net/pub/ThaiLinux/software/libthai/libthai-${version}.tar.xz"
|
||
checksum=fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd
|
||
|
||
# the ‘trietool’ binary is used to create the dictionary
|
||
if [ "$CROSS_BUILD" ]; then
|
||
hostmakedepends+=" libdatrie"
|
||
fi
|
||
|
||
libthai-devel_package() {
|
||
short_desc+=" - development files"
|
||
depends="${sourcepkg}>=${version}_${revision} libdatrie-devel"
|
||
pkg_install() {
|
||
vmove usr/include
|
||
vmove usr/lib/pkgconfig
|
||
vmove "usr/lib/*.a"
|
||
vmove "usr/lib/*.so"
|
||
}
|
||
}
|