db-move: moved webkit2gtk from [staging] to [testing] (x86_64)
[arch-packages.git] / scim / trunk / PKGBUILD
blob3db6e15fd36ecce999f441a8270b087e00a005f5
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Gan Lu <rhythm.gan@gmail.com>
5 pkgname=scim
6 pkgver=1.4.18
7 pkgrel=3
8 pkgdesc='Input method user interface and development platform'
9 url='https://github.com/scim-im/scim'
10 license=('LGPL')
11 arch=('x86_64')
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')
19 install=install
21 prepare() {
22         cd "${srcdir}/${pkgname}-${pkgver}"
23         ./bootstrap
26 build() {
27         cd "${srcdir}/${pkgname}-${pkgver}"
28         ./configure \
29                 --prefix=/usr \
30                 --sysconfdir=/etc \
31                 --with-gtk-version=2 # no gtk3 support in scim-anthy
33         make
36 package() {
37         cd "${srcdir}/${pkgname}-${pkgver}"
38         make DESTDIR="${pkgdir}" install