mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
39 lines
995 B
Bash
39 lines
995 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=scim-pinyin
|
|
pkgver=0.5.91
|
|
pkgrel=6
|
|
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
|
|
}
|
|
|
|
|