# Maintainer: Gustavo Alvarez # Contributor: Jesse Jaara pkgname=libass-git pkgver=0.15.0.2.g59eb317 pkgrel=1 pkgdesc='A portable library for SSA/ASS subtitles rendering. (GIT version)' arch=('x86_64') url='https://github.com/libass/libass' license=('custom::ISC') depends=( 'fontconfig' 'fribidi' 'glib2' 'glibc' 'harfbuzz' 'libfreetype.so' ) makedepends=( 'git' 'nasm' ) provides=( 'libass' 'libass.so' ) conflicts=('libass') source=('git+https://github.com/libass/libass.git') b2sums=('SKIP') pkgver() { cd libass git describe --long --tags | tr - . } prepare() { cd libass ./autogen.sh } build() { cd libass ./configure \ --prefix=/usr \ --enable-harfbuzz \ --enable-fontconfig make } package() { make DESTDIR="${pkgdir}" -C libass install install -Dm 644 libass/COPYING -t "${pkgdir}"/usr/share/licenses/libass/ }