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

Felix Yan felixonmars at archlinux.org
Tue Mar 10 18:31:17 UTC 2020


    Date: Tuesday, March 10, 2020 @ 18:31:17
  Author: felixonmars
Revision: 593849

upgpkg: xcb-imdkit 0.0.0.20191111-1

Modified:
  xcb-imdkit/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 18:26:16 UTC (rev 593848)
+++ PKGBUILD	2020-03-10 18:31:17 UTC (rev 593849)
@@ -3,25 +3,30 @@
 # Contributor: csslayer <wengxt AT gmail com>
 
 pkgname=xcb-imdkit
-pkgver=0.0.0.20171205
-_commit=b82eddb3432b25f0db4aa7db4f68c6744ad895c1
+pkgver=0.0.0.20191111
+_commit=bb2f10c4754223bc5afaacab7a6417ee0998e303
 pkgrel=1
 pkgdesc="Input method development support for xcb"
 arch=('x86_64')
-url="https://gitlab.com/fcitx/xcb-imdkit"
+url="https://github.com/fcitx/xcb-imdkit"
 license=('GPL')
 depends=('xcb-util' 'xcb-util-keysyms')
-makedepends=('extra-cmake-modules')
-source=("https://gitlab.com/fcitx/xcb-imdkit/-/archive/$_commit/xcb-imdkit-$_commit.tar.bz2")
-sha512sums=('904eb76fc203c126100f3ecc08f7aa12d58901687f05219b3e8a17f59630d12af225163f7bcc653e17a9c704755bc53fe3073802a302891814407ef9c7ce2d25')
+makedepends=('extra-cmake-modules' 'xorgproto')
+source=("https://github.com/fcitx/xcb-imdkit/archive/$_commit/xcb-imdkit-$_commit.tar.gz")
+sha512sums=('c5c2a0e86a8267aa26ad3cd1b4cdf54d41d61d71ce7556711df2af5ad37de973f125e648339d65c167cc1c7cd8109c4ceb691626393b5c889df4745a2fcf9382')
 
-build(){
+build() {
   cd $pkgname-$_commit
- 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
   make
 }
 
+check() {
+  cd $pkgname-$_commit
+  make test
+}
+
 package() {
   cd $pkgname-$_commit
   make DESTDIR="$pkgdir" install



More information about the arch-commits mailing list