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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Dec 12 06:17:27 UTC 2018


    Date: Wednesday, December 12, 2018 @ 06:17:26
  Author: yan12125
Revision: 415552

archrelease: copy trunk to community-testing-x86_64

Added:
  gcin/repos/community-testing-x86_64/
  gcin/repos/community-testing-x86_64/PKGBUILD
    (from rev 415551, gcin/trunk/PKGBUILD)
  gcin/repos/community-testing-x86_64/install
    (from rev 415551, gcin/trunk/install)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 install  |   14 ++++++++++++++
 2 files changed, 62 insertions(+)

Copied: gcin/repos/community-testing-x86_64/PKGBUILD (from rev 415551, gcin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-12-12 06:17:26 UTC (rev 415552)
@@ -0,0 +1,48 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gcin
+pkgver=2.8.8
+pkgrel=1
+pkgdesc='Input method server supporting various input methods'
+url='https://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('x86_64')
+depends=('gtk2' 'libxtst')
+makedepends=('qt5-base' 'qt4' 'gtk3' 'anthy')
+optdepends=('qt5-base: support for qt5 input method'
+            'qt4: support for qt4 input method'
+            'gtk3: support for gtk3 input method'
+            'anthy: support for anthy input method'
+            'curl: for downloading and uploading vocabulary databases via ts-edit')
+source=("https://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('6fa9955f5f4fdd67b80af9e91b65ff15488368453041dd4c71a3875fc08e9027aa9202783f20d4513f3c01528cb6f8141489546cf21be8fa5ba17060d55d09d4')
+
+install=install
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed 's/lib64/lib/g' -i configure
+    sed '/include suffixes-rule/a \
+        CFLAGS+='"${CFLAGS}"' \
+        LDFLAGS+='"${LDFLAGS}"' \
+        OPTFLAGS=' \
+        -i Makefile
+    sed \
+        -e 's:QT=qt5:QT=qt:' \
+        -i qt5-im/Makefile59
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    ./configure --prefix=/usr --use_i18n=Y
+    make
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: gcin/repos/community-testing-x86_64/install (from rev 415551, gcin/trunk/install)
===================================================================
--- community-testing-x86_64/install	                        (rev 0)
+++ community-testing-x86_64/install	2018-12-12 06:17:26 UTC (rev 415552)
@@ -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