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

Felix Yan felixonmars at archlinux.org
Tue Nov 3 09:13:20 UTC 2020


    Date: Tuesday, November 3, 2020 @ 09:13:20
  Author: felixonmars
Revision: 740469

upgpkg: fcitx5-lua 5.0.0-1

Modified:
  fcitx5-lua/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-03 09:10:10 UTC (rev 740468)
+++ PKGBUILD	2020-11-03 09:13:20 UTC (rev 740469)
@@ -1,9 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=fcitx5-lua
-pkgver=0.0.0.20200824
-_commit=ff218dd82db069d4a502a3eb212a80184c592ce0
-pkgrel=2
+pkgver=5.0.0
+pkgrel=1
 pkgdesc="Lua support for Fcitx 5"
 arch=('x86_64')
 url="https://github.com/fcitx/fcitx5-lua"
@@ -10,11 +9,13 @@
 license=('GPL')
 depends=('fcitx5' 'lua')
 makedepends=('extra-cmake-modules' 'ninja')
-source=("https://github.com/fcitx/fcitx5-lua/archive/$_commit/fcitx5-lua-$_commit.tar.gz")
-sha512sums=('21d84e43d4170922156654c1aa8d60f9875b4e1a871bce2b538aec1ad15ef1ce84b65b372c0720920e81348574e4415c59cc3558522decb4b6c78ebaeb3d962a')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('f1ede21aeefefd413dc1afbe548a5ca54f0f2c4e4ba744d981f07395b67f85f07ffc98c955feae8d97ea74071ced31cdf077abe8d2608152f4d3b01cb2ed4c31'
+            '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
@@ -21,11 +22,11 @@
 }
 
 check() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
   ninja test
 }
 
 package() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
   DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list