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

Felix Yan felixonmars at archlinux.org
Fri May 29 15:25:27 UTC 2020


    Date: Friday, May 29, 2020 @ 15:25:26
  Author: felixonmars
Revision: 637107

upgpkg: opencc 1.1.1-3: fix missing include

Modified:
  opencc/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 14:58:59 UTC (rev 637106)
+++ PKGBUILD	2020-05-29 15:25:26 UTC (rev 637107)
@@ -3,15 +3,18 @@
 pkgbase=opencc
 pkgname=(opencc opencc-doc)
 pkgver=1.1.1
-pkgrel=2
+pkgrel=3
 url="https://github.com/BYVoid/OpenCC"
 arch=('x86_64')
 license=('Apache')
 makedepends=('cmake' 'doxygen' 'python-setuptools' 'python-wheel')
-source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz")
-sha512sums=('48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.$pkgver/$pkgbase-$pkgver.tar.gz"
+        opencc-fix-missing-include.patch::https://github.com/BYVoid/OpenCC/pull/417.patch)
+sha512sums=('48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363'
+            '1c04eee731391c523ca8950f8520bb713a7e7f1fa9fd1c38e44dc193e5f026fc3fa120120eba9ecaa6108e12d22c56f50d5e92c05ac38d5afa624fc6cc9e8c7d')
 
 prepare() {
+  patch -d OpenCC-ver.$pkgver -p1 < opencc-fix-missing-include.patch
   cd OpenCC-ver.$pkgver/python
   # Use system opencc
   sed -i '/BuildPyCommand,/d' setup.py



More information about the arch-commits mailing list