From 38708f2e3dff576ac1487bcd0a37b3a481edfa71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 15 Aug 2020 23:42:28 +0700 Subject: [PATCH] Uranium: install cmake to cmake's version agnostic directory --- srcpkgs/Uranium/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/Uranium/template b/srcpkgs/Uranium/template index cadd4426b4..29e9ed3761 100644 --- a/srcpkgs/Uranium/template +++ b/srcpkgs/Uranium/template @@ -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/ +}