PKGBUILDs/extra/uim/PKGBUILD

47 lines
1.2 KiB
Bash
Raw Normal View History

2015-09-08 00:56:17 +00:00
# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch for AArch64
pkgname=uim
pkgver=1.8.6
2016-07-03 18:19:09 +00:00
pkgrel=7
2015-09-08 00:56:17 +00:00
pkgdesc='Multilingual input method library'
2016-04-22 12:15:52 +00:00
url='https://github.com/uim/uim/wiki'
2015-09-08 00:56:17 +00:00
license=('custom:BSD')
arch=('i686' 'x86_64')
depends=('libxft' 'libedit' 'm17n-lib')
2016-07-03 18:19:09 +00:00
makedepends=('intltool' 'gettext' 'gtk2' 'gtk3' 'qt4' 'anthy')
2015-09-08 00:56:17 +00:00
optdepends=('qt4: immodule and helper applications'
'gtk2: immodule and helper applications'
2016-07-03 18:19:09 +00:00
'gtk3: immodule and helper applications')
2015-09-08 00:56:17 +00:00
source=("https://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
'aarch64.diff')
sha1sums=('409c30b31b9e58e3c18cb7862933487b0585cd1d'
'35d2a2e2920addc97b6a73eb7ea0f56c89ff014f')
prepare() {
patch -p1 -d "${pkgname}-${pkgver}/sigscheme" -i ../../aarch64.diff
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/uim \
--with-anthy-utf8 \
--with-qt4-immodule \
--with-qt4 \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2016-07-03 18:19:09 +00:00
make DESTDIR="${pkgdir}" install -j1 # FS#41112
2015-09-08 00:56:17 +00:00
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}