29 lines
821 B
Bash
29 lines
821 B
Bash
# Template file for 'SDL2_ttf'
|
|
pkgname=SDL2_ttf
|
|
version=2.0.18
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="freetype-devel MesaLib-devel SDL2-devel libSM-devel"
|
|
short_desc="Use TrueType fonts in your SDL 2.x applications"
|
|
maintainer="Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://www.libsdl.org/projects/SDL_ttf"
|
|
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
|
|
checksum=7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt COPYING
|
|
}
|
|
|
|
SDL2_ttf-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|