[arch-commits] Commit in libime/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 10 18:57:36 UTC 2020
Date: Tuesday, March 10, 2020 @ 18:57:36
Author: felixonmars
Revision: 593869
upgpkg: libime 0.0.0.20200310-1
Modified:
libime/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-10 18:55:54 UTC (rev 593868)
+++ PKGBUILD 2020-03-10 18:57:36 UTC (rev 593869)
@@ -2,33 +2,31 @@
# Contributor: csslayer <wengxt AT gmail com>
pkgname=libime
-pkgver=0.0.0.20180817
-_commit=d612e0722a3fed5ede2138195c8b54d61dca4798
-_kenlmcommit=2ad7cb56924cd3c6811c604973f592cb5ef604eb
+pkgver=0.0.0.20200310
+_commit=14f5855ee62a806767bfcd20c47a98cd5fc982e1
+_kenlmcommit=96d303cfb1a0c21b8f060dbad640d7ab301c019a
_lm_sc_ver=20140820
_dict_ver=20170423
-pkgrel=2
+pkgrel=1
pkgdesc="A library to support generic input method implementation"
arch=('x86_64')
-url="https://gitlab.com/fcitx/libime"
+url="https://github.com/fcitx/libime"
license=('GPL')
depends=('boost-libs' 'fcitx5')
makedepends=('boost' 'extra-cmake-modules' 'python')
-source=(https://gitlab.com/fcitx/libime/-/archive/$_commit/libime-$_commit.tar.bz2
+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
- fix-duplicate-cmake-target.patch::"https://gitlab.com/fcitx/libime/commit/32541593.patch")
+ 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=('fb9564595bc05e200b054704a3ac99a4798b3d82965c3093458a034234bddb41f3e64e4e72fb4626e0a22a8e343e05e6be859d32969654d13532398e7bc508c9'
- '1fb7607ec0e0bdf7392f32cad223ceca0f89aea628654ee3cb666b961573846b72a6f4ce4449fffe0bdd6718b5fa82c2ce29604fa573d5b58eacf4e7982c717e'
+sha512sums=('7c3e5d08af9805d7bacc850a8c698543b49b7599a2ffa67721bb9ba64aa41818ee6d4920bce22d169dbd76198f2b7d1e3946ce4278c64d6e962bc1afb07ecc1e'
+ 'c39210f5a52512b23ab20ecd396def4780ea78eef25ed935dec2667ad68ae822c0e53556725374fed6ccb427732a9101e76467b487eb729539f063b28ca17d3e'
'ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519'
'99dc0a42925e9dc341b238d3114ec9a996a4135c2795c0f58e4ba61902d3856da8cbb86449a63030a72bc2894c0ed88f22dcc64275f82137cf90ae4fb3964e05'
- '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9'
- '53c3e8e38081667ff5aa6428d29baea7bfe0c8915517e4e5dcb07fb55d7a70e0f6c150fb2442c7921b417c2826b8055705ec20a573909d40bfcd72b677da366a')
+ '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9')
prepare() {
cd $pkgname-$_commit/src/libime/core
@@ -35,8 +33,6 @@
rmdir kenlm
ln -s "$srcdir"/kenlm-$_kenlmcommit ./kenlm
- patch -p4 -i "$srcdir"/fix-duplicate-cmake-target.patch # Fix duplicate cmake target errors
-
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
@@ -45,8 +41,8 @@
build(){
cd $pkgname-$_commit
-
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
make
}
More information about the arch-commits
mailing list