Date: Friday, December 18, 2020 @ 22:37:11 Author: felixonmars Revision: 779718
archrelease: copy trunk to community-x86_64 Added: rime-cantonese/repos/community-x86_64/PKGBUILD (from rev 779717, rime-cantonese/trunk/PKGBUILD) Deleted: rime-cantonese/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-18 22:37:05 UTC (rev 779717) +++ PKGBUILD 2020-12-18 22:37:11 UTC (rev 779718) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=rime-cantonese -pkgver=0.0.0.20201215 -_commit=d2476eee67ed1181931a6a8109ae33cee303f735 -pkgrel=1 -pkgdesc="Cantonese input for rime" -arch=('x86_64') -url="https://github.com/rime/rime-cantonese" -license=('CCPL:cc-by') -# dependency for reverse lookup -depends=('rime-cangjie' 'rime-emoji' 'rime-loengfan' 'rime-luna-pinyin' 'rime-stroke') -makedepends=('librime' 'rime-prelude' 'rime-essay') -source=("https://github.com/rime/rime-cantonese/archive/$_commit/rime-cantonese-$_commit.tar.gz") -sha512sums=('0985329295066b4e1aee63d051ad3d05b92b88a10288dd903ed4b9a6b2e31211b768e3ec5fd261e7c753c2bc7bc81fc178283593de2589bdf866b2c438e16d74') - -prepare() { - cd $pkgname-$_commit - # Link essentials - for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done -} - -build(){ - cd $pkgname-$_commit - for _s in $(ls *.schema.yaml); do rime_deployer --compile $_s; done -} - -package() { - cd $pkgname-$_commit - find . -type l -delete - rm build/*.txt - install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/ - install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/ - install -Dm644 opencc/* -t "$pkgdir"/usr/share/rime-data/opencc/ -} Copied: rime-cantonese/repos/community-x86_64/PKGBUILD (from rev 779717, rime-cantonese/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-18 22:37:11 UTC (rev 779718) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=rime-cantonese +pkgver=0.0.0.20201218 +_commit=9f7b252409c1f011eb50faf23f8c4ebb293c5555 +pkgrel=1 +pkgdesc="Cantonese input for rime" +arch=('x86_64') +url="https://github.com/rime/rime-cantonese" +license=('CCPL:cc-by') +# dependency for reverse lookup +depends=('rime-cangjie' 'rime-emoji' 'rime-loengfan' 'rime-luna-pinyin' 'rime-stroke') +makedepends=('librime' 'rime-prelude' 'rime-essay') +source=("https://github.com/rime/rime-cantonese/archive/$_commit/rime-cantonese-$_commit.tar.gz") +sha512sums=('6a1219611bb2a1ec0cad45d90f4af080bb3cfb7b64f7e5771c956870a37b84b9f0ad7a771fc6038611ca21215258733e449003a4ebff3898adaa4875e66e5e5e') + +prepare() { + cd $pkgname-$_commit + # Link essentials + for _f in $(pacman -Qql rime-prelude rime-essay | grep -v "/$"); do ln -sf $_f; done +} + +build(){ + cd $pkgname-$_commit + for _s in $(ls *.schema.yaml); do rime_deployer --compile $_s; done +} + +package() { + cd $pkgname-$_commit + find . -type l -delete + rm build/*.txt + install -Dm644 *.yaml -t "$pkgdir"/usr/share/rime-data/ + install -Dm644 build/* -t "$pkgdir"/usr/share/rime-data/build/ + install -Dm644 opencc/* -t "$pkgdir"/usr/share/rime-data/opencc/ +}