# Description: A Free Implementation of the Unicode Bidirectional Algorithm
# URL: http://fribidi.freedesktop.org/wiki/
# Packager: pierre at nutyx dot org
# Depends on: glib 
name=fribidi
version=0.19.7
release=1

source=( http://fribidi.org/download/$name-$version.tar.bz2)
build() {
cd $name-$version
sed -i "s|glib/gstrfuncs\.h|glib.h|" charset/fribidi-char-sets.c
sed -i "s|glib/gmem\.h|glib.h|" lib/mem.h
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=$PKG install
}
