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

Felix Yan fyan at archlinux.org
Sat Sep 26 02:37:56 UTC 2015


    Date: Saturday, September 26, 2015 @ 04:37:56
  Author: fyan
Revision: 141629

archrelease: copy trunk to community-staging-any

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

----------------+
 PKGBUILD       |   42 ++++++++++++++++++++++++++++++++++++++++++
 sgml_fix.patch |   24 ++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: ibus-table/repos/community-staging-any/PKGBUILD (from rev 141628, ibus-table/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-26 02:37:56 UTC (rev 141629)
@@ -0,0 +1,42 @@
+# $Id$
+# 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.6
+pkgrel=2
+pkgdesc='IM Engine framework for table-based input methods, such as ZhengMa, WuBi, ErBi, CangJie and so on'
+arch=('any')
+url="http://code.google.com/p/ibus/"
+license=('LGPL')
+makedepends=('git' 'docbook2x' 'docbook-sgml')
+depends=('python-pyenchant' 'ibus' 'aspell-en')
+source=("git+https://github.com/kaio/ibus-table.git#tag=$pkgver"
+        sgml_fix.patch)
+sha512sums=('SKIP'
+            '930cd45e9687295159c44d5d4133e99a2259fb8f2ed51675b55b18ca59acb410144689a2d51b052b7bbcbe061f8135ebd511898658d1c71e7004303df969c880')
+
+prepare() {
+  cd ${pkgname}
+
+  patch -p1 -i ../sgml_fix.patch
+}
+
+build() {
+  cd $pkgname
+
+  PYTHON=/usr/bin/python3 ./autogen.sh \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/ibus
+
+  make
+}
+
+package() {
+  cd ${pkgname}
+
+  make DESTDIR="${pkgdir}" install
+}
+

Copied: ibus-table/repos/community-staging-any/sgml_fix.patch (from rev 141628, ibus-table/trunk/sgml_fix.patch)
===================================================================
--- community-staging-any/sgml_fix.patch	                        (rev 0)
+++ community-staging-any/sgml_fix.patch	2015-09-26 02:37:56 UTC (rev 141629)
@@ -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