[arch-commits] Commit in ibus-chewing/repos/community-x86_64 (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jan 22 13:30:15 UTC 2021


    Date: Friday, January 22, 2021 @ 13:30:14
  Author: yan12125
Revision: 824457

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 52 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 13:29:58 UTC (rev 824456)
+++ PKGBUILD	2021-01-22 13:30:14 UTC (rev 824457)
@@ -1,45 +0,0 @@
-# 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+12+gc1e7f0d
-_commit=c1e7f0d97aa8bb1a1166621c3f0780daa0db06c1
-pkgrel=1
-pkgdesc='Chinese Chewing Engine for IBus Framework'
-arch=('x86_64')
-license=('GPL')
-url='https://github.com/definite/ibus-chewing'
-depends=('ibus' 'libchewing' 'libxtst' 'gtk3')
-makedepends=('swig' 'gob2' 'cmake-fedora' 'git')
-source=("git+https://github.com/definite/ibus-chewing.git#commit=$_commit")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --always | sed 's/-/+/g'
-}
-
-build() {
-  cd $pkgname
-
-  cmake -B build -S . \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DLIBEXEC_DIR=/usr/lib/ibus
-
-  # XXX: updated *.po files contain no translated strings. Maybe because fedora.zanata.org is down
-  # https://github.com/definite/ibus-chewing/issues/150
-  touch build/po/ibus-chewing.pot
-  cp -v po/*.po build/po/
-
-  make -C build
-}
-
-package() {
-  cd $pkgname/build
-  make DESTDIR="$pkgdir" install
-}

Copied: ibus-chewing/repos/community-x86_64/PKGBUILD (from rev 824456, ibus-chewing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-22 13:30:14 UTC (rev 824457)
@@ -0,0 +1,52 @@
+# 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+12+gc1e7f0d
+_commit=c1e7f0d97aa8bb1a1166621c3f0780daa0db06c1
+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' 'gtk3')
+makedepends=('gob2' 'cmake-fedora' 'git')
+source=("git+https://github.com/definite/ibus-chewing.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --always | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Revert an incomplete feature, see https://github.com/definite/ibus-chewing/issues/154
+  git revert -n 70a1935290c9e8bcb8e098b91711f97269619c6f
+}
+
+build() {
+  cd $pkgname
+
+  cmake -B build -S . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DLIBEXEC_DIR=/usr/lib/ibus
+
+  # XXX: updated *.po files contain no translated strings. Maybe because fedora.zanata.org is down
+  # https://github.com/definite/ibus-chewing/issues/150
+  touch build/po/ibus-chewing.pot
+  cp -v po/*.po build/po/
+
+  make -C build
+}
+
+package() {
+  cd $pkgname/build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list