extra/uim to 1.8.6-7

This commit is contained in:
Kevin Mihelich 2016-07-03 18:19:09 +00:00
parent 5086411d48
commit 90d962c4c4
2 changed files with 4 additions and 20 deletions

View file

@ -7,23 +7,21 @@
pkgname=uim
pkgver=1.8.6
pkgrel=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' 'qt4' 'gtk2' 'gtk3' 'anthy')
makedepends=('intltool' 'gettext' 'gtk2' 'gtk3' 'qt4' 'anthy')
optdepends=('qt4: immodule and helper applications'
'gtk2: immodule and helper applications'
'gtk3: immodules and helper applications')
'gtk3: immodule and helper applications')
source=("https://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
'aarch64.diff')
sha1sums=('409c30b31b9e58e3c18cb7862933487b0585cd1d'
'35d2a2e2920addc97b6a73eb7ea0f56c89ff014f')
install=install
prepare() {
patch -p1 -d "${pkgname}-${pkgver}/sigscheme" -i ../../aarch64.diff
}
@ -43,7 +41,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -j1 DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/lib/libgcroots.a
make DESTDIR="${pkgdir}" install -j1 # FS#41112
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}

View file

@ -1,13 +0,0 @@
post_install() {
[[ -x usr/bin/gtk-query-immodules-2.0 ]] && usr/bin/gtk-query-immodules-2.0 --update-cache
[[ -x usr/bin/gtk-query-immodules-3.0 ]] && usr/bin/gtk-query-immodules-3.0 --update-cache
true
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}