void-packages/srcpkgs/libass/template

33 lines
914 B
Bash

# Template file for 'libass'
pkgname=libass
version=0.16.0
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/"
changelog="https://raw.githubusercontent.com/libass/libass/master/Changelog"
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
checksum=246091cf034b097dbe362c72170e6996f8d2c19ffe664ce6768ec44eb9ca5c1c
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
}
}