void-packages/srcpkgs/EmptyEpsilon/template

33 lines
1.1 KiB
Bash

# Template file for 'EmptyEpsilon'
pkgname=EmptyEpsilon
version=2021.03.31
revision=2
_ver_major="${version%%.*}"
_ver_minor="${version%.*}"
_ver_minor="${_ver_minor#*.}"
_ver_patch="${version##*.}"
create_wrksrc=yes
build_style=cmake
build_wrksrc="EmptyEpsilon"
configure_args="
-DSERIOUS_PROTON_DIR=$XBPS_BUILDDIR/$pkgname-$version/SeriousProton
-DCPACK_PACKAGE_VERSION=${version}
-DCPACK_PACKAGE_VERSION_MAJOR=$_ver_major
-DCPACK_PACKAGE_VERSION_MINOR=$_ver_minor
-DCPACK_PACKAGE_VERSION_PATCH=$_ver_patch"
hostmakedepends="python3"
makedepends="SFML-devel glu-devel"
short_desc="Open source starship bridge simulator"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://daid.github.io/EmptyEpsilon/"
distfiles="https://github.com/daid/EmptyEpsilon/archive/EE-${version}.tar.gz
https://github.com/daid/SeriousProton/archive/EE-${version}.tar.gz>SP-${version}.tar.gz"
checksum="c1c4f11fefe1afac6076c795e8785c7507a297ba3f7f2be9ed30c97b1e93cb24
62ab03dc904bd10f017fff338e55ec97c86f0bc3903a18d6c44285b86776a2d7"
post_extract() {
mv EmptyEpsilon* EmptyEpsilon
mv SeriousProton* SeriousProton
}