desktop/fcitx-qt5/PKGBUILD

34 lines
814 B
Bash
Raw Normal View History

2013-02-21 22:09:45 +08:00
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=fcitx-qt5
2014-12-02 07:46:46 +08:00
pkgver=0.1.3
2014-06-05 16:52:57 +08:00
pkgrel=1
2013-02-21 22:09:45 +08:00
pkgdesc="QT5 IM Module for Fcitx"
arch=('x86_64')
2014-06-05 16:52:57 +08:00
url="https://fcitx-im.org/wiki/Fcitx"
2013-02-21 22:09:45 +08:00
license=('GPL')
2013-09-22 01:57:04 +08:00
depends=('fcitx>=4.2.7' 'qt5-base')
2013-02-21 22:09:45 +08:00
makedepends=('cmake')
2014-06-05 16:52:57 +08:00
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
2013-02-21 22:09:45 +08:00
build() {
cd "$srcdir/${pkgname}-${pkgver}"
2014-06-05 16:52:57 +08:00
[[ -d build ]] && rm -rf build || mkdir build
2013-02-21 22:09:45 +08:00
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
2013-02-21 22:09:45 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib ..
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}/build"
make install DESTDIR="${pkgdir}"
}
2014-12-02 07:46:46 +08:00
md5sums=('68ad5a87ad215161831cf4d439db58bc')