void-packages/srcpkgs/libass/template
2017-01-06 03:50:49 +00:00

31 lines
844 B
Bash

# Template build file for 'libass.
pkgname=libass
version=0.13.6
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool yasm pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel"
short_desc="A portable library for SSA/ASS subtitles rendering"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/libass/libass/"
license="MIT"
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
checksum=de68288397d284a955061b3ecba67152cea74d8ace6222d987dd30091b1534b7
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
}
}