mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
# $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
|
|
pkgrel=7
|
|
pkgdesc='Multilingual input method library'
|
|
url='https://github.com/uim/uim/wiki'
|
|
license=('custom:BSD')
|
|
arch=('i686' 'x86_64')
|
|
depends=('libxft' 'libedit' 'm17n-lib')
|
|
makedepends=('intltool' 'gettext' 'gtk2' 'gtk3' 'qt4' 'anthy')
|
|
optdepends=('qt4: immodule and helper applications'
|
|
'gtk2: immodule and helper applications'
|
|
'gtk3: immodule and helper applications')
|
|
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}"
|
|
make DESTDIR="${pkgdir}" install -j1 # FS#41112
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|