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