mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
34 lines
794 B
Bash
34 lines
794 B
Bash
# Maintainer: Weng Xuetian <wengxt@gmail.com>
|
|
|
|
pkgname=fcitx-qt5
|
|
pkgver=0.1.1
|
|
pkgrel=4
|
|
pkgdesc="QT5 IM Module for Fcitx"
|
|
arch=('x86_64')
|
|
url="http://code.google.com/p/fcitx"
|
|
license=('GPL')
|
|
depends=('fcitx>=4.2.7' 'qt5-base')
|
|
makedepends=('cmake')
|
|
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
|
|
[[ -d build ]] || mkdir -p build
|
|
cd build
|
|
|
|
export Qt5Core_DIR=/usr/lib/qt5
|
|
export Qt5Gui_DIR=/usr/lib/qt5
|
|
export Qt5DBus_DIR=/usr/lib/qt5
|
|
export Qt5Widgets_DIR=/usr/lib/qt5
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-${pkgver}/build"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|
|
md5sums=('c93a4922ddc4f042749e707673f0fa41')
|