void-packages/srcpkgs/SDL_ttf/template
2021-01-05 06:41:36 +07:00

28 lines
779 B
Bash

# Template file for 'SDL_ttf'
pkgname=SDL_ttf
version=2.0.11
revision=7
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="freetype-devel SDL-devel libSM-devel"
short_desc="Use TrueType fonts in your SDL applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib"
homepage="http://www.libsdl.org/projects/SDL_ttf"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
post_install() {
vlicense COPYING
}
SDL_ttf-devel_package() {
depends="freetype-devel SDL-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}