summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7054b05a020c546ffdce528d8e66f0648b8328bd (plain)
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
# Maintainer: Hodong Kim <cogniti@gmail.com>

pkgname=nimf-git
pkgver=master
pkgrel=1
pkgdesc="Nimf is an input method framework."
arch=('any')
url="https://gitlab.com/hodong/nimf"
license=('LGPL3')
makedepends=('glib2' 'intltool' 'gtk3' 'gtk2' 'qt4' 'qt5-base'
             'libappindicator-gtk3' 'librsvg' 'noto-fonts-cjk' 'libhangul'
             'anthy' 'libchewing' 'librime' 'libxkbcommon' 'wayland' 'audit')
depends=('glib2' 'gtk3' 'gtk2' 'qt4' 'qt5-base' 'libappindicator-gtk3'
         'libhangul' 'anthy' 'libchewing' 'librime' 'brise' 'libxkbcommon'
         'wayland' 'audit')
source=("https://gitlab.com/hodong/nimf/-/archive/master/nimf-master.tar.bz2")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/nimf-master"
	grep AC_INIT configure.ac | grep -Po '\d{4}.\d{2}.\d{2}'
}

build() {
	cd "$srcdir/nimf-master"
	./autogen.sh --prefix=/usr
	make
}

package() {
	cd "$srcdir/nimf-master"
	make DESTDIR="${pkgdir}/" install
	ldconfig
}