Date: Friday, September 4, 2020 @ 22:57:04 Author: felixonmars Revision: 698678
archrelease: copy trunk to community-x86_64 Added: libime/repos/community-x86_64/PKGBUILD (from rev 698677, libime/trunk/PKGBUILD) Deleted: libime/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-04 22:56:54 UTC (rev 698677) +++ PKGBUILD 2020-09-04 22:57:04 UTC (rev 698678) @@ -1,57 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgname=libime -pkgver=0.0.0.20200904.1 -_commit=5ecf708262b69bb38521954369c7fc82f630e725 -_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=('1775e596c28b8cd0e885383c85a9475220017990ce6290c1da6c0e9e9021db7808bc918c260f80ce169387cd7416bec84e14b329446ff616a771b5a8b56cbead' - '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 698677, libime/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-04 22:57:04 UTC (rev 698678) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=libime +pkgver=0.0.0.20200905 +_commit=2f178dd595f57c3a692cf290158c2a65cd529602 +_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=('e253b435f1533fc3ffaa59ca7c50925545ccde12608c34e0357bfd85b2bf093e4fdaafc20b4e6d23729b5d7923cb2c4f68ac0410a7170eba34398def8ae71590' + '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 +}