Date: Saturday, April 25, 2020 @ 14:16:50 Author: felixonmars Revision: 620752
archrelease: copy trunk to community-x86_64 Added: rime-cantonese/repos/community-x86_64/PKGBUILD (from rev 620751, rime-cantonese/trunk/PKGBUILD) Deleted: rime-cantonese/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-25 14:16:38 UTC (rev 620751) +++ PKGBUILD 2020-04-25 14:16:50 UTC (rev 620752) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=rime-cantonese -pkgver=0.0.0.20200425 -_commit=5732b770b68e581b8f670b6af5c1b01b41dd629d -pkgrel=1 -pkgdesc="Cantonese input for rime" -arch=('x86_64') -url="https://github.com/rime/rime-cantonese" -license=('LGPL') -# dependency for reverse lookup -depends=('rime-cangjie' 'rime-emoji' '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=('5c85f545d37185f7d8b20811899c7b07da93c123a4ec0b31a64302f9c71afd8b376b32f8efc88b2637342543ecdb95fdff20ab4fffc2c26846c73c15309140cc') - -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-cantonese/repos/community-x86_64/PKGBUILD (from rev 620751, rime-cantonese/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-25 14:16:50 UTC (rev 620752) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=rime-cantonese +pkgver=0.0.0.20200425 +_commit=a42bdb7da36f13b8d464946fb7aafd17c4cc952b +pkgrel=2 +pkgdesc="Cantonese input for rime" +arch=('x86_64') +url="https://github.com/rime/rime-cantonese" +license=('LGPL') +# dependency for reverse lookup +depends=('rime-cangjie' 'rime-emoji' '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=('475ef372948577190a450462864ebcca412d38e6e62d51a7765e474df6719b6ada8d62a30297409f134da3ca5ff6c78027006e754821cc90b70326cb869ef5af') + +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/ +}