void-packages/srcpkgs/Cendric/template
John cdfb0fe7e9
New package: Cendric-1.0.4
Closes: #118 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-07-28 13:07:25 +02:00

34 lines
820 B
Bash

# Template file for 'Cendric'
pkgname=Cendric
version=1.0.4
revision=1
wrksrc="Cendric2-${version}"
build_style=cmake
configure_args="-DUSE_SYSTEM_SFML=on -DCENDRIC_EXTERNAL_DOCUMENT_FOLDER=on
-DUSE_SYSTEM_PATHS=on"
hostmakedepends="dos2unix"
makedepends="SFML-devel"
depends="Cendric-data"
short_desc="RPG Platformer"
maintainer="John <johnz@posteo.net>"
license="MIT, CC-BY-NC-4.0"
homepage="http://cendric.ch/"
distfiles="https://github.com/tizian/Cendric2/archive/${version}.tar.gz"
checksum=cf43aeee25189a0c3ef0ecefd1b169ce37c62c3b11f0d6cfc30a9b3645d42dbe
post_extract() {
dos2unix CMakeLists.txt
}
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"
noarch=yes
pkg_install() {
vmove usr/share
}
}