void-packages/srcpkgs/libass/template

29 lines
818 B
Plaintext

# Template build file for 'libass.
pkgname=libass
version=0.12.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel>=0.9.5"
short_desc="A portable library for SSA/ASS subtitles rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://code.google.com/p/libass/"
license="MIT"
distfiles="https://github.com/libass/libass/releases/download/${version}/libass-${version}.tar.gz"
checksum=226bb36a229a88364456bfcad747ebe5b9030f84c528d6c41a5f3a21b504d4bb
post_install() {
vlicense COPYING
}
libass-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}