void-packages/srcpkgs/SDL2_ttf/template

25 lines
751 B
Bash
Raw Normal View History

2014-05-23 08:37:35 +02:00
# Template file for 'SDL2_ttf'
pkgname=SDL2_ttf
2016-01-05 11:17:54 +01:00
version=2.0.13
2014-05-23 08:37:35 +02:00
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="freetype-devel MesaLib-devel SDL2-devel libSM-devel"
2014-05-23 08:37:35 +02:00
short_desc="Use TrueType fonts in your SDL 2.x applications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-05-23 08:37:35 +02:00
license="MIT"
homepage="http://www.libsdl.org/projects/SDL_ttf"
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
2016-01-05 11:17:54 +01:00
checksum=25ddad0302e7d74ce16a770974930cefbdcf67499ca7d40ce7a6bd7de6022fdf
2014-05-23 08:37:35 +02:00
SDL2_ttf-devel_package() {
2016-01-05 11:17:54 +01:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2014-05-23 08:37:35 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}