#Maintainer: Dimitris Jemos <djemos~at~slackel~dot~gr>

#Mandatory
pkgname=liblinebreak
pkgver=2.0
pkgrel=1dj
source=(http://kent.dl.sourceforge.net/project/vimgadgets/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
#Optional
docs=("AUTHORS" "ChangeLog" "LICENCE" "NEWS" "README")
url=http://vimgadgets.sourceforge.net/liblinebreak


slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
"liblinebreak (a line breaking library)"
"liblinebreak is an implementation of the line breaking algorithm as"
"described in Unicode 5.0.0 Standard Annex 14."
""
"Homepage: http://vimgadgets.sourceforge.net/liblinebreak"
)

build() {
        
cd $startdir/src/$pkgname-$pkgver || return 1
./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \
 --disable-static --build=$arch-slackware-linux
                
make || return 1
make install DESTDIR=$startdir/pkg || return 1
chown -R root:root $startdir/pkg         
}