diff options
author | Coelacanthus | 2020-08-21 23:49:23 +0800 |
---|---|---|
committer | Coelacanthus | 2020-08-21 23:49:23 +0800 |
commit | a3c1913e1162ea4115cd9bcfc915e51a0422d791 (patch) | |
tree | 2935254fe6385b1c12783a9a4183528a382f25c3 | |
download | aur-rime-lua-cloud.tar.gz |
init
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..411c92921a59 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = rime-lua-cloud + pkgdesc = RIME 云输入插件 + pkgver = 0.0.0.20200821 + pkgrel = 1 + url = https://github.com/hchunhui/librime-cloud + arch = any + license = custom + depends = librime + depends = rime-lua-hook + depends = lua53-socket + source = https://github.com/hchunhui/librime-cloud/archive/fdea7ea7a4bd6eb26dcb3ad2834306b3b605bc96/librime-cloud-fdea7ea7a4bd6eb26dcb3ad2834306b3b605bc96.tar.gz + sha512sums = 54e9827f8603ab956bc15a0750d96face00f3ec65b2dcc6ede0627b9480514ded3c78352f995cfa78d8394498b4ecce59bf7d5715f6c4cf72346d2907cb99c2f + +pkgname = rime-lua-cloud + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..981be2e46a35 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Coelacanthus <liuhongwu2003@outlook.com> + +pkgname=rime-lua-cloud +pkgver=0.0.0.20200821 +_commit=fdea7ea7a4bd6eb26dcb3ad2834306b3b605bc96 +pkgrel=1 +pkgdesc="RIME 云输入插件" +arch=('any') +url="https://github.com/hchunhui/librime-cloud" +license=('custom') +# dependency for reverse lookup +depends=( 'librime' + 'rime-lua-hook' + 'lua53-socket' + ) +makedepends=() +source=("https://github.com/hchunhui/librime-cloud/archive/$_commit/librime-cloud-$_commit.tar.gz") +sha512sums=('54e9827f8603ab956bc15a0750d96face00f3ec65b2dcc6ede0627b9480514ded3c78352f995cfa78d8394498b4ecce59bf7d5715f6c4cf72346d2907cb99c2f') + + +package() { + cd librime-cloud-$_commit + + install -Dm644 scripts/lua/*.lua -t "$pkgdir"/usr/share/rime-data/lua + install -Dm644 scripts/rime.lua "$pkgdir"/usr/share/rime-data/lua-recipe/cloudpinyin.lua + + #install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ +} |