mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
746 B
Bash
27 lines
746 B
Bash
pkgname=fcitx-qt5
|
|
pkgver=1.1.0
|
|
pkgrel=3
|
|
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=(https://github.com/fcitx/fcitx-qt5/archive/${pkgver}.tar.gz)
|
|
sha512sums=('a484e499224004c0e1ca94f35c2dabcfbd7d430c8fc2e0deff48e2f1f3968faf7f97688acf901ead81ea797945da8c79d1bdc032ea69834a66c823ee58f296e1')
|
|
|
|
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}"
|
|
}
|