void-packages/srcpkgs/gosu/template
2019-01-22 07:35:40 -02:00

32 lines
809 B
Bash

# Template file for 'gosu'
pkgname=gosu
version=0.14.5
revision=1
build_style=cmake
build_wrksrc=cmake
hostmakedepends="pkg-config"
makedepends="libopenal-devel libsndfile-devel mpg123-devel pango-devel
SDL2_ttf-devel"
short_desc="2D game development library"
maintainer="Paul Merrill <pdm@pdm.me>"
license="MIT"
homepage="https://www.libgosu.org"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=4dbc4998e2c630ee7758544de4286c70c68e639524b6088ccdc7b5487c928695
CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1"
post_install() {
vlicense ../COPYING
}
gosu-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
vmove usr/share/Gosu
vmove "usr/lib/*.so"
}
}