-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
PKGBUILD
46 lines (40 loc) · 1.35 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Kevin Kim <[email protected]>
pkgname=nimf
pkgver=1.3.8
pkgrel=1
pkgdesc="Nimf is an input method framework."
arch=('any')
url="https://github.com/hamonikr/nimf"
license=('LGPL3')
makedepends=('binutils' 'autoconf' 'automake' 'gcc' 'make' 'glib2' 'glib2-devel' 'intltool'
'gtk3' 'gtk2' 'qt5-base' 'qt6-base' 'libappindicator-gtk3' 'libayatana-appindicator' 'librsvg'
'noto-fonts-cjk' 'libhangul-git' 'anthy' 'librime' 'libxkbcommon'
'wayland' 'wayland-protocols' 'libxklavier' 'm17n-lib' 'm17n-db' 'gtk-doc')
depends=('glib2' 'gtk3' 'gtk2' 'qt5-base' 'qt6-base' 'libappindicator-gtk3' 'libhangul-git'
'anthy' 'librime' 'libxkbcommon' 'wayland' 'libxklavier' 'm17n-lib'
'm17n-db')
provides=('nimf-git')
conflicts=('nimf-git')
optdepends=('brise: Rime schema repository'
'noto-fonts-cjk: Google Noto CJK fonts')
source=("git+https://github.com/hamonikr/nimf.git#tag=v1.3.8")
md5sums=('SKIP')
build() {
cd nimf
./autogen.sh --prefix=/usr --enable-gtk-doc
make -j $(nproc)
}
package() {
cd nimf
make DESTDIR="${pkgdir}/" install
}
post_install() {
cat <<EOF
To use Nimf as your input method framework, add the following lines to your ~/.xprofile:
export GTK_IM_MODULE=nimf
export QT4_IM_MODULE="nimf"
export QT_IM_MODULE=nimf
export QT6_IM_MODULE=nimf
export XMODIFIERS="@im=nimf"
EOF
}