# Contributor: Łukasz Jendrysik # Contributor: Carlo Landmeter # Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=libass pkgver=0.13.5 pkgrel=0 pkgdesc="A portable library for SSA/ASS subtitles rendering" url="https://github.com/libass/libass" arch="all" license="ISC" 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 # secfixes: # 0.13.4-r0: # - CVE-2016-7969 # - CVE-2016-7970 # - CVE-2016-7971 # - CVE-2016-7972 build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="a6c18de958fb11371d2483cff3e5a915 libass-0.13.5.tar.xz" sha256sums="9387a2421b6e6a132c7d473de594b9f0367aa85af64aa103b66f0861431b1596 libass-0.13.5.tar.xz" sha512sums="4fc0965dc930c7e74fd2938080dd10d74ee2484c2650cd623c80aed5ed0852022c7c3b5b1a17501620af22bcffd0cbdc9ddbd1697f23213e7b5f431699d1e23f libass-0.13.5.tar.xz"