[arch-commits] Commit in scim/repos (6 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Thu Jun 13 06:51:04 UTC 2013
Date: Thursday, June 13, 2013 @ 08:51:04
Author: bisson
Revision: 188218
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
scim/repos/testing-i686/
scim/repos/testing-i686/PKGBUILD
(from rev 188217, scim/trunk/PKGBUILD)
scim/repos/testing-i686/install
(from rev 188217, scim/trunk/install)
scim/repos/testing-x86_64/
scim/repos/testing-x86_64/PKGBUILD
(from rev 188217, scim/trunk/PKGBUILD)
scim/repos/testing-x86_64/install
(from rev 188217, scim/trunk/install)
-------------------------+
testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
testing-i686/install | 13 +++++++++++++
testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
testing-x86_64/install | 13 +++++++++++++
4 files changed, 106 insertions(+)
Copied: scim/repos/testing-i686/PKGBUILD (from rev 188217, scim/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-06-13 06:51:04 UTC (rev 188218)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Gan Lu <rhythm.gan at gmail.com>
+
+pkgname=scim
+pkgver=1.4.14
+pkgrel=4
+pkgdesc='Input method user interface and development platform'
+url='http://www.scim-im.org/projects/scim'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gtk2')
+optdepends=('qt4: qt4 immodule'
+ 'gtk3: gtk3 immodule')
+makedepends=('intltool' 'qt4' 'gtk3' 'optipng')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('73391be371dd7ef9f9af8b3a211e2bedec0cf71b')
+
+backup=('etc/scim/config' 'etc/scim/global')
+options=('!libtool')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ find -name '*.png' -exec optipng -quiet -force -fix {} +
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static \
+ --with-qt4-moc=/usr/bin/moc-qt4 \
+ --with-gtk-version=2 # no gtk3 support in scim-anthy
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: scim/repos/testing-i686/install (from rev 188217, scim/trunk/install)
===================================================================
--- testing-i686/install (rev 0)
+++ testing-i686/install 2013-06-13 06:51:04 UTC (rev 188218)
@@ -0,0 +1,13 @@
+post_install() {
+ [[ -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 > /etc/gtk-3.0/gtk.immodules
+ true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: scim/repos/testing-x86_64/PKGBUILD (from rev 188217, scim/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-06-13 06:51:04 UTC (rev 188218)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Gan Lu <rhythm.gan at gmail.com>
+
+pkgname=scim
+pkgver=1.4.14
+pkgrel=4
+pkgdesc='Input method user interface and development platform'
+url='http://www.scim-im.org/projects/scim'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gtk2')
+optdepends=('qt4: qt4 immodule'
+ 'gtk3: gtk3 immodule')
+makedepends=('intltool' 'qt4' 'gtk3' 'optipng')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('73391be371dd7ef9f9af8b3a211e2bedec0cf71b')
+
+backup=('etc/scim/config' 'etc/scim/global')
+options=('!libtool')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ find -name '*.png' -exec optipng -quiet -force -fix {} +
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static \
+ --with-qt4-moc=/usr/bin/moc-qt4 \
+ --with-gtk-version=2 # no gtk3 support in scim-anthy
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: scim/repos/testing-x86_64/install (from rev 188217, scim/trunk/install)
===================================================================
--- testing-x86_64/install (rev 0)
+++ testing-x86_64/install 2013-06-13 06:51:04 UTC (rev 188218)
@@ -0,0 +1,13 @@
+post_install() {
+ [[ -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 > /etc/gtk-3.0/gtk.immodules
+ true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list