desktop/fcitx-qt5/PKGBUILD
2015-02-26 21:23:30 +00:00

29 lines
704 B
Bash

# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=fcitx-qt5
pkgver=1.0.0
pkgrel=2
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}"
}
md5sums=('6dde690e7a3606709707c1333630ecc6')