[arch-commits] Commit in fcitx5/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 4 21:39:53 UTC 2020


    Date: Friday, December 4, 2020 @ 21:39:52
  Author: felixonmars
Revision: 770045

archrelease: copy trunk to community-staging-x86_64

Added:
  fcitx5/repos/community-staging-x86_64/
  fcitx5/repos/community-staging-x86_64/PKGBUILD
    (from rev 770044, fcitx5/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: fcitx5/repos/community-staging-x86_64/PKGBUILD (from rev 770044, fcitx5/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-12-04 21:39:52 UTC (rev 770045)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5
+pkgver=5.0.2
+pkgrel=2
+pkgdesc="Next generation of fcitx"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5"
+license=('GPL')
+conflicts=('fcitx')
+groups=('fcitx5-im')
+depends=('cairo' 'enchant' 'iso-codes' 'libgl' 'libxkbcommon-x11' 'pango' 'systemd' 'wayland'
+         'wayland-protocols' 'xcb-imdkit' 'xcb-util-wm' 'libxkbfile' 'fmt' 'gdk-pixbuf2'
+         'cldr-emoji-annotation')
+makedepends=('extra-cmake-modules' 'ninja')
+source=("https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-${pkgver}_dict.tar.xz"{,.sig})
+sha512sums=('e9f7caeaf631f45d2eba3727674815e46ae3406f9beaae68fb738ed692f5685798c28fd90fff3c0109b4b9b9d6b45320321cc4ab0a75d15a2b59dc2c167f0869'
+            'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_SYSCONFDIR=/etc .
+  ninja
+}
+
+check() {
+  cd $pkgname-$pkgver
+  ninja test
+}
+
+package() {
+  cd $pkgname-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list