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

Felix Yan fyan at archlinux.org
Wed Sep 17 03:12:10 UTC 2014


    Date: Wednesday, September 17, 2014 @ 05:12:10
  Author: fyan
Revision: 119070

archrelease: copy trunk to community-testing-any

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

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

Copied: ibus-table/repos/community-testing-any/PKGBUILD (from rev 119069, ibus-table/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2014-09-17 03:12:10 UTC (rev 119070)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# 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.0
+pkgrel=1
+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-testing-any/sgml_fix.patch (from rev 119069, ibus-table/trunk/sgml_fix.patch)
===================================================================
--- community-testing-any/sgml_fix.patch	                        (rev 0)
+++ community-testing-any/sgml_fix.patch	2014-09-17 03:12:10 UTC (rev 119070)
@@ -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