PKGBUILDs/extra/uim/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
872 B
Bash

# $Id: PKGBUILD 51878 2009-09-13 02:36:06Z eric $
# Maintainer: damir <damir@archlinux.org>
pkgname=uim
pkgver=1.5.6
pkgrel=1
pkgdesc="Multilingual input method library"
arch=('i686' 'x86_64')
url="http://code.google.com/p/uim/"
license=('custom')
depends=('m17n-lib' 'ncurses' 'gtk2')
makedepends=('gnome-panel' 'pkgconfig' 'gettext' 'intltool')
optdepends=('gnome-panel: for using the GNOME applet')
options=('!libtool')
install=uim.install
source=(http://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('c977b3ee01d63acc13b0bea129544dab')
sha1sums=('da49e9c7faa867a051a4020d8441bbe4f54bc9df')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/uim || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}