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

Chih-Hsuan Yen yan12125 at archlinux.org
Thu May 7 03:54:31 UTC 2020


    Date: Thursday, May 7, 2020 @ 03:54:31
  Author: yan12125
Revision: 625240

archrelease: copy trunk to community-testing-x86_64

Added:
  ibus-chewing/repos/community-testing-x86_64/
  ibus-chewing/repos/community-testing-x86_64/PKGBUILD
    (from rev 625239, ibus-chewing/trunk/PKGBUILD)

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

Copied: ibus-chewing/repos/community-testing-x86_64/PKGBUILD (from rev 625239, ibus-chewing/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-05-07 03:54:31 UTC (rev 625240)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Rainy <rainylau(at)gmail(dot)com>
+# Contributor: Lee.MaRS <leemars at gmail.com>
+# Contributor: Hiroshi Yui <hiroshiyui at gmail.com>
+
+pkgname=ibus-chewing
+pkgver=1.6.1
+pkgrel=2
+pkgdesc='Chinese Chewing Engine for IBus Framework'
+arch=('x86_64')
+license=('GPL')
+url='https://github.com/definite/ibus-chewing'
+depends=('ibus' 'libchewing' 'libxtst')
+makedepends=('swig' 'gob2' 'cmake-fedora')
+source=("https://github.com/definite/ibus-chewing/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b093db79c656433614b9f72719a2b0768a30c2fb6fa066eda1e79cc9932ce1836f7f1e5611612fb44f260fe80a9baa9e18fdc9754b285e8a5f12a87c376cbd39')
+
+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 \
+    -DSYSCONF_INSTALL_DIR=/usr/share \
+    -DLIBEXEC_DIR=/usr/lib/ibus
+  make -C build all translations
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list