32 lines
845 B
Bash
32 lines
845 B
Bash
# Template build file for 'libass.
|
|
pkgname=libass
|
|
version=0.15.0
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
homepage="https://github.com/libass/libass/"
|
|
license="MIT"
|
|
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
|
|
checksum=232b1339c633e6a93c153cac7a483e536944921605f35fcbaedc661c62fb49ec
|
|
|
|
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
|
|
}
|
|
}
|