32 lines
844 B
Bash
32 lines
844 B
Bash
# Template build file for 'libass.
|
|
pkgname=libass
|
|
version=0.13.1
|
|
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://code.google.com/p/libass/"
|
|
license="MIT"
|
|
distfiles="https://github.com/libass/libass/archive/${version}.tar.gz"
|
|
checksum=d53fd6b754145579045b5de4a63b08a02f1ea07ffb9de129a58246e008b2bf8b
|
|
|
|
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
|
|
}
|
|
}
|