Proper versions for magnum + shlib update

This commit is contained in:
2025-11-19 16:02:14 +02:00
parent d95d12b4cc
commit 220e99d20b
7 changed files with 88 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
# Template file for 'corrade'
pkgname=corrade
version=2025.47
version=2020.06.r2021.g4d462c1e
revision=1
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCORRADE_CPU_USE_IFUNC=OFF"
@@ -10,12 +10,20 @@ maintainer="Dora 'cat' <cat@thenight.club>"
license="MIT"
homepage="https://magnum.graphics/corrade/"
changelog="https://github.com/mosra/corrade/blob/master/doc/corrade-changelog.dox"
repository=magnum
do_fetch(){
git clone https://github.com/mosra/corrade/ "$wrksrc"
}
pre_configure(){
actual_version=$(git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g')
if [[ $actual_version != $version ]] then
echo "Update version to $actual_version"
exit 1
fi
}
post_install() {
vlicense COPYING LICENSE
}