void-packages/srcpkgs/fcitx-rime/template

21 lines
727 B
Bash

# Template file for 'fcitx-rime'
pkgname=fcitx-rime
version=0.3.2
revision=5
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 fcitx5-rime"
short_desc="Fcitx Wrapper for librime"
maintainer="Yuxuan Shui <yshuiv7@gmail.com>"
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*
}