void-packages/srcpkgs/lugaru/template

28 lines
933 B
Bash

# Template file for 'lugaru'
pkgname=lugaru
version=1.2
revision=2
build_style=cmake
configure_args="-DSYSTEM_INSTALL=ON
-DCMAKE_INSTALL_BINDIR=bin
-DCMAKE_INSTALL_DATADIR=share
-DCMAKE_INSTALL_MANDIR=share/man"
hostmakedepends="pkg-config"
makedepends="SDL2-devel zlib-devel libvorbis-devel libopenal-devel libpng-devel libjpeg-turbo-devel glu-devel"
depends="lugaru-data"
short_desc="Third person ninja rabbit fighting game"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://osslugaru.gitlab.io/"
distfiles="https://bitbucket.org/osslugaru/lugaru/downloads/lugaru-${version}.tar.xz"
distfiles="https://github.com/osslugaru/lugaru/releases/download/$version/lugaru-$version.tar.xz"
checksum=f3ea477caf78911c69939fbdc163f9f6517c7ef2267e716a0e050be1a166ef97
lugaru-data_package() {
short_desc+=" - data files"
license="CC-BY-SA-4.0, CC-BY-SA-3.0"
pkg_install() {
vmove usr/share/lugaru
}
}