void-packages/srcpkgs/solarus/template
2021-04-07 23:31:27 -05:00

26 lines
835 B
Bash

# Template file for 'solarus'
pkgname=solarus
version=1.6.5
revision=1
wrksrc="${pkgname}-v${version}"
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake"
makedepends="libmodplug-devel libopenal-devel LuaJIT-devel
physfs-devel qt5-tools-devel SDL2_image-devel SDL2_ttf-devel
glm"
short_desc="Action-RPG game engine"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://www.solarus-games.org/"
distfiles="https://gitlab.com/solarus-games/solarus/-/archive/v${version}/solarus-v${version}.tar.bz2"
checksum=4b4ac59df8ab63ee2e305cbf48118d6be0cf9665968eb0b06dd1acdf4346516f
make_check=extended
solarus-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}