Date: Sunday, September 12, 2021 @ 02:37:53 Author: felixonmars Revision: 1014393
archrelease: copy trunk to community-x86_64 Added: rime-cantonese/repos/community-x86_64/PKGBUILD (from rev 1014392, rime-cantonese/trunk/PKGBUILD) Deleted: rime-cantonese/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-12 02:37:44 UTC (rev 1014392) +++ PKGBUILD 2021-09-12 02:37:53 UTC (rev 1014393) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=rime-cantonese -pkgver=0.0.0.20210905 -_commit=fd5101226daff3b81182992c786b0dd19ea547aa -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=('b43636882edb051202ecb611d3c459bf4d6a9ff4f5e9c83913b0e4bb29f716af80e91ad5dbe939adb5e966cd13d21cd12cdb083191484a9118a5fe0cd486d650') - -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 1014392, rime-cantonese/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-12 02:37:53 UTC (rev 1014393) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=rime-cantonese +pkgver=0.0.0.20210910 +_commit=59a37fbfc27c16ac022e3395a578dd77e58a3376 +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=('f1a924573bad64482913172a3d399fb7097e9292c650936bd7fac1238aa443f91a249ff0aed8ec0387438236ca8eb3f2ca74f6341b138254c70799e2d8ffed68') + +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/ +}