[arch-commits] Commit in gcin/repos (6 files)

Gaetan Bisson bisson at nymeria.archlinux.org
Mon Feb 25 23:26:23 UTC 2013


    Date: Tuesday, February 26, 2013 @ 00:26:23
  Author: bisson
Revision: 178625

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gcin/repos/staging-i686/
  gcin/repos/staging-i686/PKGBUILD
    (from rev 178624, gcin/trunk/PKGBUILD)
  gcin/repos/staging-i686/install
    (from rev 178624, gcin/trunk/install)
  gcin/repos/staging-x86_64/
  gcin/repos/staging-x86_64/PKGBUILD
    (from rev 178624, gcin/trunk/PKGBUILD)
  gcin/repos/staging-x86_64/install
    (from rev 178624, gcin/trunk/install)

-------------------------+
 staging-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/install    |   14 ++++++++++++++
 staging-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/install  |   14 ++++++++++++++
 4 files changed, 112 insertions(+)

Copied: gcin/repos/staging-i686/PKGBUILD (from rev 178624, gcin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-02-25 23:26:23 UTC (rev 178625)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gcin
+pkgver=2.8.0
+pkgrel=2
+pkgdesc='Input method server supporting various input methods'
+url='http://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('gtk2' 'libxtst')
+makedepends=('qt4' 'gtk3' 'anthy' 'libchewing')
+optdepends=('qt4: support for qt4 input method'
+            'gtk3: support for gtk3 input method'
+            'anthy: support for anthy input method'
+            'libchewing: support for chewing input method')
+source=("http://www.csie.nctu.edu.tw/~cp76/gcin/download/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('69fe604939bc013f043ff0b4baa63b7951b26c95')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	source /etc/profile.d/qt4.sh
+	sed 's/lib64/lib/g' -i configure
+	sed '/include suffixes-rule/a \
+		CFLAGS+='"${CFLAGS}"' \
+		LDFLAGS+='"${LDFLAGS}"' \
+		OPTFLAGS=' \
+		-i Makefile
+
+	./configure --prefix=/usr --use_i18n=Y
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: gcin/repos/staging-i686/install (from rev 178624, gcin/trunk/install)
===================================================================
--- staging-i686/install	                        (rev 0)
+++ staging-i686/install	2013-02-25 23:26:23 UTC (rev 178625)
@@ -0,0 +1,14 @@
+post_install() {
+	echo -n "updating gtk immodules... "
+	[ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+	[ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
+	echo "done."
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: gcin/repos/staging-x86_64/PKGBUILD (from rev 178624, gcin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-02-25 23:26:23 UTC (rev 178625)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gcin
+pkgver=2.8.0
+pkgrel=2
+pkgdesc='Input method server supporting various input methods'
+url='http://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('gtk2' 'libxtst')
+makedepends=('qt4' 'gtk3' 'anthy' 'libchewing')
+optdepends=('qt4: support for qt4 input method'
+            'gtk3: support for gtk3 input method'
+            'anthy: support for anthy input method'
+            'libchewing: support for chewing input method')
+source=("http://www.csie.nctu.edu.tw/~cp76/gcin/download/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('69fe604939bc013f043ff0b4baa63b7951b26c95')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	source /etc/profile.d/qt4.sh
+	sed 's/lib64/lib/g' -i configure
+	sed '/include suffixes-rule/a \
+		CFLAGS+='"${CFLAGS}"' \
+		LDFLAGS+='"${LDFLAGS}"' \
+		OPTFLAGS=' \
+		-i Makefile
+
+	./configure --prefix=/usr --use_i18n=Y
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: gcin/repos/staging-x86_64/install (from rev 178624, gcin/trunk/install)
===================================================================
--- staging-x86_64/install	                        (rev 0)
+++ staging-x86_64/install	2013-02-25 23:26:23 UTC (rev 178625)
@@ -0,0 +1,14 @@
+post_install() {
+	echo -n "updating gtk immodules... "
+	[ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+	[ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
+	echo "done."
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list