# Contributor: Ɓukasz Jendrysik # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libass pkgver=0.12.1 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="dfdcd8b4fbb6a8211db8040b10aa2070 libass-0.12.1.tar.xz" sha256sums="87864517e482e94130864ad9e4217c3925119e8cc0c1509133989997a61592d7 libass-0.12.1.tar.xz" sha512sums="ace022b214cdbd0f043037a6be25c2b58e12630717fe839f3a896462e3c7b0ccbb1e33c0128a09bbd416ec6e1e30230d514341a5c5c9190058fdedcf95082c91 libass-0.12.1.tar.xz"