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