#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libass
pkgver=0.10.0
pkgrel=1rl
source=("http://libass.googlecode.com/files/libass-$pkgver.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers")
url=http://code.google.com/p/libass/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libass (a portable library for SSA/ASS subtitles rendering)"
"LibASS is a library that renders SSA/ASS subtitles. SSA stands for Sub"
"Station Alpha. It's the file format used by the popular subtitle"
"editor, SubStation Alpha. This format is widely used by fansubbers."
"Advanced SubStation Alpha (ASS) is a script for more advanced"
"subtitles than SSA."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./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
}