File PKGBUILD of Package fcitx5-lotus
pkgname=fcitx5-lotus
pkgver=0
pkgrel=1
pkgdesc="Vietnamese input method for fcitx5"
arch=('x86_64')
url="https://github.com/LotusInputMethod/fcitx5-lotus"
license=('GPL-3.0-or-later')
depends=('fcitx5' 'libinput' 'hicolor-icon-theme' 'glibc' 'libstdc++' 'libgcc' 'systemd-libs')
makedepends=('cmake' 'go' 'extra-cmake-modules' 'gcc' 'git' 'libx11')
provides=('fcitx5-lotus')
conflicts=('fcitx5-lotus')
source=("$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP')
install='fcitx5-lotus.install'
build() {
cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
make
}
package() {
cd "$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
}