[arch-commits] Commit in rime-stroke/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 14 17:28:12 UTC 2020


    Date: Saturday, March 14, 2020 @ 17:28:11
  Author: felixonmars
Revision: 597015

archrelease: copy trunk to community-x86_64

Added:
  rime-stroke/repos/community-x86_64/PKGBUILD
    (from rev 597014, rime-stroke/trunk/PKGBUILD)
Deleted:
  rime-stroke/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 17:28:02 UTC (rev 597014)
+++ PKGBUILD	2020-03-14 17:28:11 UTC (rev 597015)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=rime-stroke
-pkgver=0.0.0.20191221
-_commit=ea8576d1accd6fda339e96b415caadb56e2a07d1
-pkgrel=1
-pkgdesc="Stroke input for rime"
-arch=('x86_64')
-url="https://github.com/rime/rime-stroke"
-license=('LGPL')
-makedepends=('librime' 'rime-prelude' 'rime-essay')
-source=("https://github.com/rime/rime-stroke/archive/$_commit/rime-stroke-$_commit.tar.gz")
-sha512sums=('69487ff985de24ce366eccd0e2aa77fb6921df0588bd28b772fd0215e94a3fc71b97796307fa8d31fb44e27c2fb34da5910139c5d51f09b12259e75f38f45473')
-
-prepare() {
-  cd $pkgname-$_commit
-  # Link essentials
-  for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done
-
-  # Build binaries only for this package
-  rm default.yaml
-  cp /usr/share/rime-data/default.yaml ./
-  sed -i -e '/- schema:/d' -e '/schema_list:/d' default.yaml
-  echo "schema_list:" >> default.yaml
-  ls *.schema.yaml | cut -d "." -f 1 | sed -e 's/\(.*\)/  - schema: \1/' >> default.yaml
-}
-
-build(){
-  cd $pkgname-$_commit
-  rime_deployer --build .
-}
-
-package() {
-  cd $pkgname-$_commit
-  find . -type l -delete
-  rm {,build/}default.yaml user.yaml
-  install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/
-  install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/
-}

Copied: rime-stroke/repos/community-x86_64/PKGBUILD (from rev 597014, rime-stroke/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-14 17:28:11 UTC (rev 597015)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=rime-stroke
+pkgver=0.0.0.20191221
+_commit=ea8576d1accd6fda339e96b415caadb56e2a07d1
+pkgrel=2
+pkgdesc="Stroke input for rime"
+arch=('x86_64')
+url="https://github.com/rime/rime-stroke"
+license=('LGPL')
+# dependency for reverse lookup
+depends=('rime-luna-pinyin')
+makedepends=('librime' 'rime-prelude' 'rime-essay')
+source=("https://github.com/rime/rime-stroke/archive/$_commit/rime-stroke-$_commit.tar.gz")
+sha512sums=('69487ff985de24ce366eccd0e2aa77fb6921df0588bd28b772fd0215e94a3fc71b97796307fa8d31fb44e27c2fb34da5910139c5d51f09b12259e75f38f45473')
+
+prepare() {
+  cd $pkgname-$_commit
+  # Link essentials
+  for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done
+
+  # Build binaries only for this package
+  rm default.yaml
+  cp /usr/share/rime-data/default.yaml ./
+  sed -i -e '/- schema:/d' -e '/schema_list:/d' default.yaml
+  echo "schema_list:" >> default.yaml
+  ls *.schema.yaml | cut -d "." -f 1 | sed -e 's/\(.*\)/  - schema: \1/' >> default.yaml
+}
+
+build(){
+  cd $pkgname-$_commit
+  rime_deployer --build .
+}
+
+package() {
+  cd $pkgname-$_commit
+  find . -type l -delete
+  rm {,build/}default.yaml user.yaml
+  install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/
+  install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/
+}



More information about the arch-commits mailing list