void-packages/srcpkgs/Cendric/template

32 lines
790 B
Bash
Raw Normal View History

# Template file for 'Cendric'
pkgname=Cendric
2018-09-11 12:31:35 +02:00
version=1.1.3
revision=1
wrksrc="Cendric2-${version}"
2018-09-11 12:31:35 +02:00
repository=nonfree
build_style=cmake
configure_args="-DUSE_SYSTEM_SFML=on -DCENDRIC_EXTERNAL_DOCUMENT_FOLDER=on
-DUSE_SYSTEM_PATHS=on"
makedepends="SFML-devel"
depends="Cendric-data"
short_desc="RPG Platformer"
maintainer="John <johnz@posteo.net>"
2018-09-11 12:31:35 +02:00
license="MIT, CC-BY-NC-SA-4.0"
homepage="http://cendric.ch/"
distfiles="https://github.com/tizian/Cendric2/archive/${version}.tar.gz"
2018-09-11 12:31:35 +02:00
checksum=db1c251425d2e941352e294514d4af984e537519b97237e70503f8c6bd2d2d90
post_install() {
vlicense LICENSES/CC-BY-NC-SA-4.0.txt CC-BY-NC-SA-4.0
vlicense LICENSES/MIT.txt MIT
}
Cendric-data_package() {
short_desc+=" - data files"
2018-09-11 12:31:35 +02:00
repository=nonfree
noarch=yes
pkg_install() {
vmove usr/share
}
}