void-packages/srcpkgs/libass/template

33 lines
914 B
Bash

# Template file for 'libass'
pkgname=libass
version=0.17.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=90ca569bcd47eea1e170d8c5dfd1e6208f1c1b70f8cf67d4219916af02e34c09
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
}
}