# Maintainer: Natanael Copa pkgname=fribidi pkgver=0.19.5 pkgrel=0 pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm" url="http://fribidi.org" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends= source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build () { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="925bafb97afee8a2fc2d0470c072a155 fribidi-0.19.5.tar.bz2"