# Contributor: Ɓukasz Jendrysik # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libass pkgver=0.12.3 pkgrel=0 pkgdesc="A portable library for SSA/ASS subtitles rendering" url="http://code.google.com/p/libass/" arch="all" license="GPL" depends="" depends_dev="enca-dev fontconfig-dev fribidi-dev freetype-dev" makedepends="$depends_dev" subpackages="$pkgname-dev" source="http://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/*.la } md5sums="32d9e091c811e95f59d71a64c9423f45 libass-0.12.3.tar.xz" sha256sums="a67c54ebaf5ec19ae72e86259ee6ab6adfe2e64ed9f9149db03dc863360ea38c libass-0.12.3.tar.xz" sha512sums="84931e89f02487ff01bfe24be3d90b1db8599ab2a5ec2277824b4330cd9219189a54f19d2d83f223d2d6f973b5e7474f2691905091749a776147669b72754be2 libass-0.12.3.tar.xz"