core/scim-pinyin/PKGBUILD

34 lines
815 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 77980 2010-04-19 08:02:17Z allan $
# Maintainer:
2010-03-14 23:48:48 +08:00
# Contributer: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim-pinyin
pkgver=0.5.91
2010-05-17 15:50:50 +08:00
pkgrel=5
2010-03-14 23:48:48 +08:00
pkgdesc="Chinese 拼音 (PinYin) input for SCIM"
2010-05-17 15:50:50 +08:00
arch=('i686' 'x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.scim-im.org/"
license=GPL
depends=('scim>=1.4.7')
2010-05-17 15:50:50 +08:00
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz
scim-pinyin-0.5.91-gcc43.patch)
md5sums=('fb96d3545090d7681ea03edaced4eccb'
'ef84582d9bac7ac250d2d64cf260ad39')
2010-03-14 23:48:48 +08:00
build() {
2010-05-17 15:50:50 +08:00
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $srcdir/scim-pinyin-0.5.91-gcc43.patch
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr \
2010-05-17 15:50:50 +08:00
--sysconfdir=/etc \
--disable-static
2010-03-14 23:48:48 +08:00
make || return 1
}
2010-05-17 15:50:50 +08:00
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}