1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Gan Lu <rhythm.gan@gmail.com>
8 pkgdesc='Input method user interface and development platform'
9 url='https://github.com/scim-im/scim'
12 depends=('libltdl' 'gtk2')
13 optdepends=('gtk3: gtk3 immodule')
14 makedepends=('intltool' 'gtk3')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/scim-im/scim/archive/$pkgver.tar.gz")
16 sha512sums=('9a6090fc1ab950905a9c54d6678ce3d2a44297d1a992a3e933b0466688638e6cf470c1682daa58a6fbb6de3216b649273faf7edff1ac0ecca1c2c77fc19108fb')
18 backup=('etc/scim/config' 'etc/scim/global')
22 cd "${srcdir}/${pkgname}-${pkgver}"
27 cd "${srcdir}/${pkgname}-${pkgver}"
31 --with-gtk-version=2 # no gtk3 support in scim-anthy
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install