mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
27 lines
756 B
Bash
27 lines
756 B
Bash
pkgname=fcitx-qt5
|
|
pkgver=1.0.2
|
|
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.4.1')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
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}"
|
|
}
|
|
sha512sums=('f7075d5334e29fd00c54563182c9cc4027011503aa14d577aa2fb75eb8558c385d91c939f1f21e51850c9c64fc5c396aad5b32fdcc8ddd99c46ec74bd577255d')
|