[arch-commits] Commit in fcitx-chewing/repos (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Thu May 7 03:39:06 UTC 2020
Date: Thursday, May 7, 2020 @ 03:39:05
Author: yan12125
Revision: 625238
archrelease: copy trunk to community-testing-x86_64
Added:
fcitx-chewing/repos/community-testing-x86_64/
fcitx-chewing/repos/community-testing-x86_64/PKGBUILD
(from rev 625237, fcitx-chewing/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: fcitx-chewing/repos/community-testing-x86_64/PKGBUILD (from rev 625237, fcitx-chewing/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-05-07 03:39:05 UTC (rev 625238)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=fcitx-chewing
+pkgver=0.2.3
+pkgrel=3
+pkgdesc='Fcitx Wrapper for chewing'
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx-chewing"
+license=('GPL')
+depends=('libchewing' 'fcitx')
+makedepends=('cmake')
+source=("https://download.fcitx-im.org/fcitx-chewing/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('3492ad6ecaf00bb1ea07b76c9c23da075615597c1a68434a2da003cbe410d12172510d4306379777a1d04a359b017c49d278c002a7230b030693b668b6030bfd'
+ 'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # Bring in -D_FORTIFY_SOURCE=2
+ export CFLAGS+=" $CPPFLAGS"
+ export CXXLAGS+=" $CPPFLAGS"
+
+ cmake -B build -S . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None
+ make -C build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list