mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
28 lines
757 B
Bash
28 lines
757 B
Bash
pkgname=fcitx-qt5
|
|
pkgver=1.0.5
|
|
pkgrel=1
|
|
pkgdesc="QT5 IM Module for Fcitx"
|
|
arch=('x86_64')
|
|
url="https://fcitx-im.org/wiki/Fcitx"
|
|
license=('GPL')
|
|
depends=('fcitx>=4.2.7' 'qt5-base>=5.5.1')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
sha512sums=('f4da9ede8918cef7aa0dbacea534ab81024e3c6d812bedd287c4c4c9a8b9ca994d4708489c602967f3504ce057ec6e118674503f5d796883f1890e8ecc11c501')
|
|
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
|
|
[[ -d build ]] && rm -rf build || mkdir build
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-${pkgver}/build"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|