void-packages/srcpkgs/SDL2_ttf/template

30 lines
926 B
Bash

# Template file for 'SDL2_ttf'
pkgname=SDL2_ttf
version=2.20.1
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="André Cerqueira <acerqueira021@gmail.com>"
license="MIT"
homepage="https://github.com/libsdl-org/SDL_ttf"
changelog="https://github.com/libsdl-org/SDL_ttf/raw/SDL2/CHANGES.txt"
distfiles="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz"
checksum=78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57
post_install() {
vlicense LICENSE.txt
}
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
}
}