[arch-commits] Commit in ibus-table/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:44:29 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:44:29
  Author: foutrelis
Revision: 752791

archrelease: copy trunk to community-staging-any

Added:
  ibus-table/repos/community-staging-any/
  ibus-table/repos/community-staging-any/PKGBUILD
    (from rev 752790, ibus-table/trunk/PKGBUILD)
  ibus-table/repos/community-staging-any/sgml_fix.patch
    (from rev 752790, ibus-table/trunk/sgml_fix.patch)

----------------+
 PKGBUILD       |   40 ++++++++++++++++++++++++++++++++++++++++
 sgml_fix.patch |   24 ++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: ibus-table/repos/community-staging-any/PKGBUILD (from rev 752790, ibus-table/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:44:29 UTC (rev 752791)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: coderoar <coderoar at gmail.com>
+# Contributor: leemars <leemars at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=ibus-table
+pkgver=1.12.1
+pkgrel=2
+pkgdesc='IM Engine framework for table-based input methods, such as ZhengMa, WuBi, ErBi, CangJie and so on'
+arch=('any')
+url="https://github.com/kaio/ibus-table"
+license=('LGPL')
+makedepends=('docbook2x' 'docbook-sgml')
+depends=('python-pyenchant' 'ibus' 'aspell-en')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kaio/ibus-table/archive/$pkgver.tar.gz"
+        sgml_fix.patch)
+sha512sums=('d6b7e0ed1226b9515e6b0883b14f55ecd7cd6c185f9ada443b9ca4ce029d371891510788592c4701d199b41981203701177ea9a0e3a9dbe122dbc752d3a1e51a'
+            '930cd45e9687295159c44d5d4133e99a2259fb8f2ed51675b55b18ca59acb410144689a2d51b052b7bbcbe061f8135ebd511898658d1c71e7004303df969c880')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -p1 -i ../sgml_fix.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/ibus
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}

Copied: ibus-table/repos/community-staging-any/sgml_fix.patch (from rev 752790, ibus-table/trunk/sgml_fix.patch)
===================================================================
--- community-staging-any/sgml_fix.patch	                        (rev 0)
+++ community-staging-any/sgml_fix.patch	2020-11-12 17:44:29 UTC (rev 752791)
@@ -0,0 +1,24 @@
+diff --git a/engine/Makefile.am b/engine/Makefile.am
+index 1334876..1836439 100644
+--- a/engine/Makefile.am
++++ b/engine/Makefile.am
+@@ -21,6 +21,7 @@
+ 
+ DOC2MAN = docbook2man
+ SGML = ibus-table-createdb.sgml
++XML = ibus-table-createdb.xml
+ BUILT_MANS = ibus-table-createdb.1
+ man_MANS = $(BUILT_MANS)
+ 
+@@ -65,8 +66,9 @@ MAINTAINERCLEANFILES = \
+ 
+ ${man_MANS}: ${SGML}
+ 	$(AM_V_GEN) $(RM) $@; \
+-	$(DOC2MAN) ${SGML}; \
+-	$(RM) manpage.*
++	SGML_CATALOG_FILES=/etc/sgml/catalog sgml2xml -xlower -xid ${SGML} > ${XML}; \
++	$(DOC2MAN) ${XML}; \
++	$(RM) manpage.* ${XML}
+ 
+ table.xml: table.xml.in
+ 	( \



More information about the arch-commits mailing list