summaryrefslogtreecommitdiff
path: root/extra/scim-pinyin/PKGBUILD
blob: 3f8e1e1499dbda8045ebcc86a08c45d5e6dbd24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 77980 2010-04-19 08:02:17Z allan $
# Maintainer: 
# Contributer: Gan Lu <rhythm.gan@gmail.com>

pkgname=scim-pinyin
pkgver=0.5.91
pkgrel=5
pkgdesc="Chinese 拼音 (PinYin) input for SCIM"
arch=('i686' 'x86_64')
url="http://www.scim-im.org/"
license=GPL
depends=('scim>=1.4.7')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz
        scim-pinyin-0.5.91-gcc43.patch)
md5sums=('fb96d3545090d7681ea03edaced4eccb'
         'ef84582d9bac7ac250d2d64cf260ad39')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i $srcdir/scim-pinyin-0.5.91-gcc43.patch
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --disable-static
  make || return 1
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}