Checks for 32/64 bit in usr/lib/cmake/Tweeny/TweenyConfigVersion.cmake # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "4") math(EXPR installedBits "4 * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif()
16 lines
493 B
Bash
16 lines
493 B
Bash
# Template file for 'tweeny'
|
|
pkgname=tweeny
|
|
version=3.1.0
|
|
revision=2
|
|
build_style=cmake
|
|
short_desc="Modern C++ tweening library"
|
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/mobius3/tweeny"
|
|
changelog="https://github.com/mobius3/tweeny/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/mobius3/tweeny/archive/v${version}.tar.gz"
|
|
checksum=ba201a2338023a44d966d8779b61e53f709dc5c4c55f6e0f01adac5ed7ea8cc7
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|