diff options
author | secext2022 | 2024-03-08 10:12:11 +0800 |
---|---|---|
committer | secext2022 | 2024-03-08 10:12:11 +0800 |
commit | 19527df40452696ad3e488623297f98777a57a6c (patch) | |
tree | 678f449b2d2d4d9d290409ca46ba5868cd070281 | |
download | aur-19527df40452696ad3e488623297f98777a57a6c.tar.gz |
librush v0.1.0-a2
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | pmim_ibrus.xml | 28 |
4 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d1bb7f2c35bc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = librush-bin + pkgdesc = ibus module for pmim (a Chinese pinyin input method) + pkgver = 0.1.0a2 + pkgrel = 1 + url = https://github.com/fm-elpac/librush + arch = x86_64 + license = LGPL-2.1-or-later OR GPL-3.0-or-later + depends = ibus>=1.5.29 + source = librush_release_x86_64-unknown-linux-gnu.tar.zst::https://github.com/fm-elpac/librush/releases/download/v0.1.0-a2/librush_release_x86_64-unknown-linux-gnu.tar.zst + source = pmim_ibrus.xml + sha256sums = 1d0a1d257d6d2d4daac56a926c7a40b6215964bd27251e6c4da3e7acfc1b81cf + sha256sums = 1ee458d6dc9ad97a4afe9939076675b43f236196eb3bd6e9a5a9e7e41ee1ded6 + +pkgname = librush-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dab7953377a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +librush_release_x86_64-unknown-linux-gnu.tar.zst + +pkg/ +src/ + +*.pkg.tar.zst diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4b9fe3d6ff3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: secext2022 <secext2022 at outlook dot com> +pkgname=librush-bin +pkgver=0.1.0a2 +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.29') +source=( + 'librush_release_x86_64-unknown-linux-gnu.tar.zst::https://github.com/fm-elpac/librush/releases/download/v0.1.0-a2/librush_release_x86_64-unknown-linux-gnu.tar.zst' + 'pmim_ibrus.xml') +sha256sums=('1d0a1d257d6d2d4daac56a926c7a40b6215964bd27251e6c4da3e7acfc1b81cf' + '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 +} diff --git a/pmim_ibrus.xml b/pmim_ibrus.xml new file mode 100644 index 000000000000..4a2fcf8d30b8 --- /dev/null +++ b/pmim_ibrus.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- /usr/share/ibus/component/pmim_ibrus.xml --> +<component> + <name>org.fm_elpac.pmim</name> + <description>PMIM (ibus)</description> + <exec>/usr/lib/pmim/ibrus --flatpak</exec> + <version>0.1.0</version> + <author>secext2022</author> + <license>GPL</license> + <homepage>https://github.com/fm-elpac/pmim-ibus</homepage> + <textdomain>pmim-ibus</textdomain> + + <engines> + <engine> + <name>pmim</name> + <language>zh_CN</language> + <license>GPL</license> + <author>secext2022</author> + <layout>default</layout> + <longname>胖喵拼音</longname> + <description>胖喵拼音输入法 (ibus)</description> + <rank>99</rank> + <symbol>喵</symbol> + <icon_prop_key>InputMode</icon_prop_key> + <textdomain>pmim-ibus</textdomain> + </engine> + </engines> +</component> |