# Template file for 'fribidi'
pkgname=fribidi
version=0.19.2
revision=7
build_style=gnu-configure
makedepends="glib-devel"
short_desc="Free Implementation of the Unicode Bidirectional Algorithm"
homepage="http://fribidi.org/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://fribidi.org/download/$pkgname-$version.tar.gz"
checksum=49cf91586e48b52fe25872ff66c1da0dff0daac2593f9f300e2af12f44f64177
long_desc="
 The library implements all of the algorithm as described in the Unicode
 Standard Annex 9, The Bidirectional Algorithm,
 http://www.unicode.org/unicode/reports/tr9/. FriBidi is exhautively tested
 against Bidi Reference Code, and due to our best knowledge, does not contain
 any conformance bugs."

fribidi-devel_package() {
	depends="glib-devel fribidi>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/share
	}
}

fribidi_package() {
	pkg_install() {
		vmove usr
	}
}
