void-packages/srcpkgs/solarus/template
2019-08-21 20:21:37 +02:00

24 lines
810 B
Bash

# Template file for 'solarus'
pkgname=solarus
version=1.6.2
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"
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=c14cd97bad6e12310b938d90abd4e8ebdd0abb403cdcc015d5add82dfc5a085b
solarus-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}