[arch-commits] Commit in scim/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 08:07:22 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:07:22
Author: foutrelis
Revision: 386156
archrelease: copy trunk to staging-x86_64
Added:
scim/repos/staging-x86_64/
scim/repos/staging-x86_64/PKGBUILD
(from rev 386155, scim/trunk/PKGBUILD)
scim/repos/staging-x86_64/install
(from rev 386155, scim/trunk/install)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
install | 13 +++++++++++++
2 files changed, 52 insertions(+)
Copied: scim/repos/staging-x86_64/PKGBUILD (from rev 386155, scim/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:07:22 UTC (rev 386156)
@@ -0,0 +1,39 @@
+# 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.18
+pkgrel=3
+pkgdesc='Input method user interface and development platform'
+url='https://github.com/scim-im/scim'
+license=('LGPL')
+arch=('x86_64')
+depends=('libltdl' 'gtk2')
+optdepends=('gtk3: gtk3 immodule')
+makedepends=('intltool' 'gtk3')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scim-im/scim/archive/$pkgver.tar.gz")
+sha512sums=('9a6090fc1ab950905a9c54d6678ce3d2a44297d1a992a3e933b0466688638e6cf470c1682daa58a6fbb6de3216b649273faf7edff1ac0ecca1c2c77fc19108fb')
+
+backup=('etc/scim/config' 'etc/scim/global')
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./bootstrap
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-gtk-version=2 # no gtk3 support in scim-anthy
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: scim/repos/staging-x86_64/install (from rev 386155, scim/trunk/install)
===================================================================
--- staging-x86_64/install (rev 0)
+++ staging-x86_64/install 2020-05-19 08:07:22 UTC (rev 386156)
@@ -0,0 +1,13 @@
+post_install() {
+ [[ -x usr/bin/gtk-query-immodules-2.0 ]] && gtk-query-immodules-2.0 --update-cache
+ [[ -x usr/bin/gtk-query-immodules-3.0 ]] && gtk-query-immodules-3.0 --update-cache
+ true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list