From 8e9b0d8a2346d30848dc0d3e300223be2fe27099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 3 Oct 2023 12:03:27 +0700 Subject: [PATCH] fcitx-rime: fix conflicts with fcitx5-rime --- srcpkgs/fcitx-rime/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/fcitx-rime/template b/srcpkgs/fcitx-rime/template index 751b952bbe5..ac419419183 100644 --- a/srcpkgs/fcitx-rime/template +++ b/srcpkgs/fcitx-rime/template @@ -1,15 +1,20 @@ # Template file for 'fcitx-rime' pkgname=fcitx-rime version=0.3.2 -revision=3 +revision=4 build_style=cmake configure_args="-DCMAKE_BUILD_TYPE=None -DRIME_DATA_DIR=/usr/share/rime-data" hostmakedepends="pkg-config libfcitx" makedepends="fcitx-devel librime-devel" -depends="brise" +depends="brise fcitx5-rime-icons" short_desc="Fcitx Wrapper for librime" maintainer="Yuxuan Shui " license="GPL-2.0-only" homepage="https://github.com/fcitx/fcitx-rime" distfiles="https://download.fcitx-im.org/fcitx-rime/fcitx-rime-$version.tar.xz" checksum=f97ea6f515fcc5f526cc25dce3d4ba05fa1c83001f68502d6c284ba39cd5a82d + +post_install() { + rm -rf "${DESTDIR}/usr/share/icons/hicolor/"*/apps/fcitx* + rm -rf "${DESTDIR}/usr/share/icons/hicolor/"*/status/fcitx* +}