# Maintainer: secext2022 pkgname=librush-bin pkgver=0.1.0a7 pkgrel=1 # https://github.com/fm-elpac/pmim-ibus pkgdesc="ibus module for pmim (a Chinese pinyin input method)" arch=('x86_64') url="https://github.com/fm-elpac/librush" license=('LGPL-2.1-or-later OR GPL-3.0-or-later') depends=('ibus>=1.5.30') optdepends=('flatpak: install pmim from flathub') source=('librush_release_x86_64-unknown-linux-gnu.tar.zst::https://github.com/fm-elpac/librush/releases/download/v0.1.0-a7/librush_release_x86_64-unknown-linux-gnu.tar.zst' 'pmim_ibrus.xml') sha256sums=('95a6aaf304c0cfd28d965ad38e6c2257ffdcd5a51baf9d97a65c7edc4152424a' '1ee458d6dc9ad97a4afe9939076675b43f236196eb3bd6e9a5a9e7e41ee1ded6') build() { cd "$srcdir" } package() { cd "$srcdir" install -Dm755 -t "$pkgdir/usr/lib/pmim" target/release/ibrus install -Dm644 -t "$pkgdir/usr/share/ibus/component" pmim_ibrus.xml }