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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 10 20:10:14 UTC 2019


    Date: Sunday, November 10, 2019 @ 20:10:14
  Author: foutrelis
Revision: 526500

archrelease: copy trunk to community-staging-any

Added:
  ibus-table/repos/community-staging-any/
  ibus-table/repos/community-staging-any/PKGBUILD
    (from rev 526499, ibus-table/trunk/PKGBUILD)
  ibus-table/repos/community-staging-any/sgml_fix.patch
    (from rev 526499, 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 526499, ibus-table/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-10 20:10:14 UTC (rev 526500)
@@ -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.9.21
+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=('440deb4dac3f8e51b4159b4f25c0b533376851c31005b705973c8556815d5abfea8e12ff13846aabc401c224f0902a14eb4dc6599bda04858f3ebd6cc9d2b158'
+            '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 526499, ibus-table/trunk/sgml_fix.patch)
===================================================================
--- community-staging-any/sgml_fix.patch	                        (rev 0)
+++ community-staging-any/sgml_fix.patch	2019-11-10 20:10:14 UTC (rev 526500)
@@ -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