Date: Sunday, February 21, 2021 @ 15:36:27 Author: felixonmars Revision: 867714
archrelease: copy trunk to community-x86_64 Added: rime-luna-pinyin/repos/community-x86_64/PKGBUILD (from rev 867713, rime-luna-pinyin/trunk/PKGBUILD) Deleted: rime-luna-pinyin/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-21 15:36:15 UTC (rev 867713) +++ PKGBUILD 2021-02-21 15:36:27 UTC (rev 867714) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=rime-luna-pinyin -pkgver=0.0.0.20210131 -_commit=19726ceca1b343d660382903d100f517bdc775ab -pkgrel=1 -pkgdesc="Luna pinyin for rime" -arch=('x86_64') -url="https://github.com/rime/rime-luna-pinyin" -license=('LGPL') -# dependency for reverse lookup -depends=('rime-stroke') -makedepends=('librime' 'rime-prelude' 'rime-essay') -source=("https://github.com/rime/rime-luna-pinyin/archive/$_commit/rime-luna-pinyin-$_commit.tar.gz") -sha512sums=('70e6b7a7aa05850abc57c6b2aa4c79675f74812e756b6ceef415f4170d24160b122ac8a9daf59bd2e57a0113c8f3246b45e23682b5902e0ff59b42353249a6d8') - -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/ -} Copied: rime-luna-pinyin/repos/community-x86_64/PKGBUILD (from rev 867713, rime-luna-pinyin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-21 15:36:27 UTC (rev 867714) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=rime-luna-pinyin +pkgver=0.0.0.20210221 +_commit=a6dc4418c85abf0453b2c4d77b8611a05a1d5336 +pkgrel=1 +pkgdesc="Luna pinyin for rime" +arch=('x86_64') +url="https://github.com/rime/rime-luna-pinyin" +license=('LGPL') +# dependency for reverse lookup +depends=('rime-stroke') +makedepends=('librime' 'rime-prelude' 'rime-essay') +source=("https://github.com/rime/rime-luna-pinyin/archive/$_commit/rime-luna-pinyin-$_commit.tar.gz") +sha512sums=('cf5bf379ce3e7db3a54b4a2b55e12ee2929d54f67e925955fc8edfcf71dbfa48d5ccfce3e4a93b0ab1a186d35a603533d126eb21a1fc2e15afb9c6567b2f1c4b') + +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/ +}