diff options
Diffstat (limited to 'extra/scim-pinyin/PKGBUILD')
-rw-r--r-- | extra/scim-pinyin/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/scim-pinyin/PKGBUILD b/extra/scim-pinyin/PKGBUILD new file mode 100644 index 000000000..3f8e1e149 --- /dev/null +++ b/extra/scim-pinyin/PKGBUILD @@ -0,0 +1,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 +} + + |