mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:37:14 +08:00
39 lines
1007 B
Bash
39 lines
1007 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=uim
|
|
pkgver=1.7.0
|
|
pkgrel=1
|
|
pkgdesc='Multilingual input method library'
|
|
arch=('i686' 'x86_64')
|
|
url='http://code.google.com/p/uim/'
|
|
license=('custom:BSD')
|
|
depends=('gtk2' 'libxft' 'ncurses' 'anthy' 'm17n-lib')
|
|
makedepends=('intltool' 'gettext')
|
|
options=('!libtool')
|
|
source=("http://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
|
|
sha1sums=('b79ed80c2557e804e6d3d2771a213a29cd932a73')
|
|
|
|
install=install
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib/uim \
|
|
--with-anthy-utf8
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|