[arch-commits] Commit in libime/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Sep 13 14:31:12 UTC 2019


    Date: Friday, September 13, 2019 @ 14:31:12
  Author: arojas
Revision: 510337

Fix for cmake duplicate target errors

Modified:
  libime/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 14:28:23 UTC (rev 510336)
+++ PKGBUILD	2019-09-13 14:31:12 UTC (rev 510337)
@@ -7,7 +7,7 @@
 _kenlmcommit=2ad7cb56924cd3c6811c604973f592cb5ef604eb
 _lm_sc_ver=20140820
 _dict_ver=20170423
-pkgrel=1
+pkgrel=2
 pkgdesc="A library to support generic input method implementation"
 arch=('i686' 'x86_64')
 url="https://gitlab.com/fcitx/libime"
@@ -18,7 +18,8 @@
         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)
+        https://download.fcitx-im.org/data/table.tar.gz
+        fix-duplicate-cmake-target.patch::"https://gitlab.com/fcitx/libime/commit/32541593.patch")
 noextract=(lm_sc.3gm.arpa-$_lm_sc_ver.tar.bz2
            dict.utf8-$_dict_ver.tar.xz
            table.tar.gz)
@@ -26,7 +27,8 @@
             '1fb7607ec0e0bdf7392f32cad223ceca0f89aea628654ee3cb666b961573846b72a6f4ce4449fffe0bdd6718b5fa82c2ce29604fa573d5b58eacf4e7982c717e'
             'ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519'
             '99dc0a42925e9dc341b238d3114ec9a996a4135c2795c0f58e4ba61902d3856da8cbb86449a63030a72bc2894c0ed88f22dcc64275f82137cf90ae4fb3964e05'
-            '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9')
+            '99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9'
+            '53c3e8e38081667ff5aa6428d29baea7bfe0c8915517e4e5dcb07fb55d7a70e0f6c150fb2442c7921b417c2826b8055705ec20a573909d40bfcd72b677da366a')
 
 prepare() {
   cd $pkgname-$_commit/src/libime/core
@@ -33,6 +35,8 @@
   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


More information about the arch-commits mailing list