Date: Friday, October 30, 2020 @ 21:18:16 Author: felixonmars Revision: 737209
archrelease: copy trunk to community-x86_64 Added: libime/repos/community-x86_64/PKGBUILD (from rev 737208, libime/trunk/PKGBUILD) Deleted: libime/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-30 21:18:07 UTC (rev 737208) +++ PKGBUILD 2020-10-30 21:18:16 UTC (rev 737209) @@ -1,57 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=libime -pkgver=0.0.0.20201013 -_commit=4e2f0e853b9118d8d6d233d139e3b7c9112959b7 -_kenlmcommit=01c49fe86714276f77be9278d00906fc994256c1 -_lm_sc_ver=20140820 -_dict_ver=20200715 -pkgrel=1 -pkgdesc="A library to support generic input method implementation" -arch=('x86_64') -url="https://github.com/fcitx/libime" -license=('GPL') -depends=('boost-libs' 'fcitx5') -makedepends=('boost' 'extra-cmake-modules' 'ninja' 'python') -source=($pkgname-$_commit.tar.gz::https://github.com/fcitx/libime/archive/$_commit.tar.gz - kenlm-$_kenlmcommit.tar.gz::https://github.com/kpu/kenlm/archive/$_kenlmcommit.tar.gz - https://download.fcitx-im.org/data/lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 - https://download.fcitx-im.org/data/dict.utf8-$_dict_ver.tar.xz - https://download.fcitx-im.org/data/table.tar.gz) -noextract=(lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 - dict.utf8-$_dict_ver.tar.xz - table.tar.gz) -sha512sums=('e56c65e10278b00c5dba65681f2233586fcb7840f3e014615365b65b9a9d3301f4f86486d5241d42d0ff0cf3e6065f3650aac9a3f1220287824ce927fa3eccf1' - '461c2f45a7aa5685f418b7b456bff9c00b44b0bfdd347c36a5f9f1fb9a39539d27d0d66b078ed2847d8765e07157c241e24d61314cc08b90bdfbab99a800369e' - 'ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519' - '75ad207842937369e79c3c3616165424c4e71fbce7ba2b15c7c2f1dcb898950e6d9babf39ed5bde01c21dd025906c988a80989863175daa8d1315a9be4402130' - '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9') - -prepare() { - cd $pkgname-$_commit/src/libime/core - rmdir kenlm - ln -s "$srcdir"/kenlm-$_kenlmcommit ./kenlm - - cd "$srcdir"/$pkgname-$_commit/data - ln -s "$srcdir"/lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 - ln -s "$srcdir"/dict.utf8-$_dict_ver.tar.xz - ln -s "$srcdir"/table.tar.gz -} - -build(){ - cd $pkgname-$_commit - - cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . - ninja -} - -check() { - cd $pkgname-$_commit - ninja test -} - -package() { - cd $pkgname-$_commit - DESTDIR="$pkgdir" ninja install -} Copied: libime/repos/community-x86_64/PKGBUILD (from rev 737208, libime/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-30 21:18:16 UTC (rev 737209) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=libime +pkgver=0.0.0.20201029 +_commit=22106dcf1681f6a5135a2d7fd35a3775187ca111 +_kenlmcommit=01c49fe86714276f77be9278d00906fc994256c1 +_lm_sc_ver=20140820 +_dict_ver=20200715 +pkgrel=1 +pkgdesc="A library to support generic input method implementation" +arch=('x86_64') +url="https://github.com/fcitx/libime" +license=('GPL') +depends=('boost-libs' 'fcitx5') +makedepends=('boost' 'extra-cmake-modules' 'ninja' 'python') +source=($pkgname-$_commit.tar.gz::https://github.com/fcitx/libime/archive/$_commit.tar.gz + kenlm-$_kenlmcommit.tar.gz::https://github.com/kpu/kenlm/archive/$_kenlmcommit.tar.gz + https://download.fcitx-im.org/data/lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 + https://download.fcitx-im.org/data/dict.utf8-$_dict_ver.tar.xz + https://download.fcitx-im.org/data/table.tar.gz) +noextract=(lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 + dict.utf8-$_dict_ver.tar.xz + table.tar.gz) +sha512sums=('770b1fb89a8d742b41fa1c15926854941542535f17a030bcbed9579acd9fbf127deb46cb61c9ffdb663f32491f1f401fc67578735a9526ab085665515e105d97' + '461c2f45a7aa5685f418b7b456bff9c00b44b0bfdd347c36a5f9f1fb9a39539d27d0d66b078ed2847d8765e07157c241e24d61314cc08b90bdfbab99a800369e' + 'ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519' + '75ad207842937369e79c3c3616165424c4e71fbce7ba2b15c7c2f1dcb898950e6d9babf39ed5bde01c21dd025906c988a80989863175daa8d1315a9be4402130' + '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9') + +prepare() { + cd $pkgname-$_commit/src/libime/core + rmdir kenlm + ln -s "$srcdir"/kenlm-$_kenlmcommit ./kenlm + + cd "$srcdir"/$pkgname-$_commit/data + ln -s "$srcdir"/lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2 + ln -s "$srcdir"/dict.utf8-$_dict_ver.tar.xz + ln -s "$srcdir"/table.tar.gz +} + +build(){ + cd $pkgname-$_commit + + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . + ninja +} + +check() { + cd $pkgname-$_commit + ninja test +} + +package() { + cd $pkgname-$_commit + DESTDIR="$pkgdir" ninja install +}