2017-05-08 19:43:54 +02:00
|
|
|
# Template file for 'gosu'
|
2017-04-24 07:50:33 +02:00
|
|
|
pkgname=gosu
|
|
|
|
version=0.12.0
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
build_wrksrc=cmake
|
2017-05-08 19:43:54 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2017-04-24 07:50:33 +02:00
|
|
|
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=aa726e7da57eb4671ff19a198e7015c1899e0536b0152e7375a949c7216ef90c
|
|
|
|
|
|
|
|
post_install() {
|
2017-05-08 19:43:54 +02:00
|
|
|
vlicense ../COPYING
|
2017-04-24 07:50:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
gosu-devel_package() {
|
2017-05-08 19:43:54 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2017-04-24 07:50:33 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/pkgconfig
|
|
|
|
vmove usr/share/Gosu
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|