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

Felix Yan felixonmars at archlinux.org
Tue Nov 3 07:22:00 UTC 2020


    Date: Tuesday, November 3, 2020 @ 07:22:00
  Author: felixonmars
Revision: 740371

upgpkg: xcb-imdkit 1.0.0-1

Modified:
  xcb-imdkit/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-03 07:07:13 UTC (rev 740370)
+++ PKGBUILD	2020-11-03 07:22:00 UTC (rev 740371)
@@ -3,8 +3,7 @@
 # Contributor: csslayer <wengxt AT gmail com>
 
 pkgname=xcb-imdkit
-pkgver=0.0.0.20201028
-_commit=6a5280cf92f8715e483d1511a6d0cd50efea6633
+pkgver=1.0.0
 pkgrel=1
 pkgdesc="Input method development support for xcb"
 arch=('x86_64')
@@ -12,11 +11,13 @@
 license=('GPL')
 depends=('xcb-util' 'xcb-util-keysyms')
 makedepends=('extra-cmake-modules' 'ninja' 'uthash' 'xorgproto')
-source=("https://github.com/fcitx/xcb-imdkit/archive/$_commit/xcb-imdkit-$_commit.tar.gz")
-sha512sums=('f2cead24a0286669f5c1228ba17949c04d43c4c3db14df1a5147eb03e8eff775319d46cc24b880ede3133b4cc97771aa500fd9e6f2786208f2c586a7c073e819')
+source=("https://download.fcitx-im.org/fcitx5/xcb-imdkit/xcb-imdkit-$pkgver.tar.xz"{,.sig})
+sha512sums=('a054f810e6a3d9d26250efa7bd38e5239c418c244326e0296316dc0b5a5c7fbd8f57298a5dbbd0b2dfeb0add7d2650d5a9dc06684775c7b1e4a58d259b91617f'
+            '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,11 +24,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