summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b86d7a432ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: AkinoKaede <autmaple@protonmail.com>
+
+pkgname=rime-dict-yangshann-git
+pkgver=0.0.0.2c1b744
+pkgrel=1
+pkgdesc="A dictionary for rime"
+arch=('any')
+url="https://github.com/yangshann/rime-dict"
+license=('GPL3')
+makedepends=('git')
+source=(
+ "rime-dict::git+${url}.git"
+)
+sha512sums=(
+ 'SKIP'
+)
+
+pkgver() {
+ cd "${srcdir}"/rime-dict
+ printf "%s" "0.0.0.$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${srcdir}"/rime-dict
+ install -Dm644 *.yaml -t "${pkgdir}"/usr/share/rime-data/
+}