# Contributor: Ɓukasz Jendrysik # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libass pkgver=0.12.0 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="ba806f521248dd08032d433abc6d5ace libass-0.12.0.tar.xz" sha256sums="0f34e9b4d1badbe85f2865e308d191b311f12266f9612a0fbf995ea8436bae29 libass-0.12.0.tar.xz" sha512sums="329727064ac1c90f1bfe449548a2b4d9e5b02346eb43c69b4e9623227efc19e91690950540fac7465aa44bd351103f17fa075f71836a1aa3400ee0647995a197 libass-0.12.0.tar.xz"