void-packages/srcpkgs/libass/template
2021-10-06 23:17:28 -03:00

31 lines
837 B
Bash

# Template file for 'libass'
pkgname=libass
version=0.15.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool yasm pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel"
short_desc="Portable library for SSA/ASS subtitles rendering"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/libass/libass/"
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
checksum=f96b7ce35f2b0bf430eb71c4c9dd5d8f0abf52499e08490d346608c837c98299
pre_configure() {
autoreconf -fi
}
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
}
}