33 lines
809 B
Bash
33 lines
809 B
Bash
# Template file for 'gosu'
|
|
pkgname=gosu
|
|
version=0.12.1
|
|
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=69df78819e6e901c405b46b8fff374005f70557e558c84b1cb55e19d1c51c790
|
|
|
|
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"
|
|
}
|
|
}
|