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

Felix Yan felixonmars at archlinux.org
Tue Nov 3 07:47:05 UTC 2020


    Date: Tuesday, November 3, 2020 @ 07:47:05
  Author: felixonmars
Revision: 740391

upgpkg: fcitx5-chewing 5.0.0-1

Modified:
  fcitx5-chewing/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-03 07:45:57 UTC (rev 740390)
+++ PKGBUILD	2020-11-03 07:47:05 UTC (rev 740391)
@@ -3,8 +3,7 @@
 # Contributor: csslayer <wengxt AT gmail com>
 
 pkgname=fcitx5-chewing
-pkgver=0.0.0.20201029
-_commit=40dcada79ce63d2ac2656491e87a3064a5a9254d
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Chewing Wrapper for Fcitx5"
 arch=('x86_64')
@@ -12,11 +11,13 @@
 license=('GPL')
 depends=('fcitx5' 'libchewing')
 makedepends=('extra-cmake-modules' 'ninja')
-source=("https://github.com/fcitx/fcitx5-chewing/archive/$_commit/fcitx5-chewing-$_commit.tar.gz")
-sha512sums=('76d8f77ed5f0edf8efb2a2a0e7c75f0773e9b88fbf98fe4591c515064ce68a6043a6940e5841cf5dbbe55640fdad3a296ef3c7c175e13181946ff73563724525')
+source=("https://download.fcitx-im.org/fcitx5/fcitx5-chewing/fcitx5-chewing-$pkgver.tar.xz"{,.sig})
+sha512sums=('9fe035387f6b40801ace9a2d9af8fc4532bfb9277c7a287f8a56bedbbf51790d107acd36622fe4e4c3572f7e64db956381edbee363ada2c901c33812258cae0a'
+            'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
 
 build(){
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
 
   cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
   ninja
@@ -23,6 +24,6 @@
 }
 
 package() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
   DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list