# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: csslayer <wengxt AT gmail com>

pkgname=fcitx5-table-other
pkgver=5.1.5
pkgrel=1
pkgdesc="Other tables for Fcitx5"
arch=('any')
url="https://github.com/fcitx/fcitx5-table-other"
license=('GPL')
depends=('fcitx5-chinese-addons')
makedepends=('git' 'extra-cmake-modules' 'boost')
source=("git+https://github.com/fcitx/fcitx5-table-other.git#tag=$pkgver?signed")
sha512sums=('10f298c2947e62dfbce87fa142f5e3067d8613fadb73f3ec883a70f84e2c2059750ec1f0f86fd32a6b0cdfb3212e0754c8832917a8743be7931cc8a79a6fc993')
validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt@gmail.com>

build() {
  cd $pkgname
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
  make
}

package() {
  cd $pkgname
  make DESTDIR="$pkgdir" install
}
