pkgname=fcitx-qt5 pkgver=1.2.7 _commit=af033e3d5305108eecc568adff7f8b2da5831ed6 pkgrel=12 pkgdesc="QT5 IM Module for Fcitx" arch=('x86_64') url="https://github.com/fcitx/fcitx-qt5" license=('GPL') depends=('fcitx' 'qt5-base') makedepends=('extra-cmake-modules') source=("https://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz") #source=("https://github.com/fcitx/fcitx-qt5/archive/${_commit}.zip") md5sums=('d03560966737ffee3b11bb3986f0b109') build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }