# Maintainer: Gaetan Bisson # Contributor: damir pkgname=uim pkgver=1.8.8 pkgrel=5 pkgdesc='Multilingual input method library' url='https://github.com/uim/uim' license=('custom:BSD') arch=('x86_64') depends=('libxft' 'libedit' 'm17n-lib') makedepends=('intltool' 'gettext' 'gtk2' 'gtk3' 'qt5-x11extras' 'anthy' 'skk-jisyo') optdepends=('qt5-x11extras: immodule and helper applications' 'gtk2: immodule and helper applications' 'gtk3: immodule and helper applications' 'skk-jisyo: input method' 'anthy: input method') source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2") sha256sums=('34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc') build() { cd "${srcdir}/${pkgname}-${pkgver}" CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/uim \ --with-qt5-immodule \ --with-qt5 \ --with-anthy-utf8 \ --with-skk \ make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install -j1 # FS#41112 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }