Uranium: install cmake to cmake's version agnostic directory

This commit is contained in:
Đoàn Trần Công Danh 2020-08-15 23:42:28 +07:00
parent 7931deb614
commit 38708f2e3d
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'Uranium'
pkgname=Uranium
version=4.6.2
revision=1
revision=2
archs=noarch
build_style=cmake
pycompile_dirs="usr/lib/uranium/plugins"
@ -15,3 +15,8 @@ license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/Uranium"
distfiles="https://github.com/Ultimaker/Uranium/archive/${version}.tar.gz"
checksum=8f162f7e31681eca198e59d0a6a9382ad82527729e6f9981d8e75ce7671c05d5
post_install() {
vmkdir usr/share/uranium/cmake
mv $DESTDIR/usr/share/cmake-*/Modules/* $DESTDIR/usr/share/uranium/cmake/
}