[arch-commits] Commit in fcitx5/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 25 15:02:44 UTC 2020
Date: Saturday, April 25, 2020 @ 15:02:44
Author: foutrelis
Revision: 620846
archrelease: copy trunk to community-staging-x86_64
Added:
fcitx5/repos/community-staging-x86_64/
fcitx5/repos/community-staging-x86_64/PKGBUILD
(from rev 620845, fcitx5/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: fcitx5/repos/community-staging-x86_64/PKGBUILD (from rev 620845, fcitx5/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 15:02:44 UTC (rev 620846)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5
+pkgver=0.0.0.20200424
+_commit=3a1130f4050dfa34a7d6752adc43534ded22f846
+_endictver=20121020
+pkgrel=3
+pkgdesc="Next generation of fcitx"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5"
+license=('GPL')
+conflicts=('fcitx')
+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')
+source=("https://github.com/fcitx/fcitx5/archive/$_commit/fcitx5-$_commit.tar.gz"
+ https://download.fcitx-im.org/data/en_dict-$_endictver.tar.gz)
+sha512sums=('043a0d8004e2f52208c9e1d511969718b0ef05e927e8484da455ce86dddbb398eab76bf849057dba4700a0a8628139e89cca371f2238d869b79b4121cf6b3c99'
+ '8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2')
+
+prepare() {
+ cd $pkgname-$_commit/src/modules/spell/dict
+ ln -s "$srcdir"/en_dict-$_endictver.tar.gz ./
+}
+
+build() {
+ cd $pkgname-$_commit
+
+ 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