void-packages/srcpkgs/libass/template
2021-05-07 14:43:19 -03:00

31 lines
837 B
Bash

# Template file for 'libass'
pkgname=libass
version=0.15.1
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=61538871aa7779620caa01fb52e9344a1840848e8a55b8aaa33d16dd88f97417
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
}
}