desktop/fcitx-qt5/PKGBUILD
2017-01-28 04:10:08 +00:00

27 lines
756 B
Bash

pkgname=fcitx-qt5
pkgver=1.0.6
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.5.1')
makedepends=('cmake' 'extra-cmake-modules')
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('ea816a3bc324b838d77d7ee67a05853f7f07cbc3c0c1e0a3809fe72084f7e0db8e98623499299712b8b496922e46acb06cf3a1cbd3ff2ef1de92ca5a74d540da')
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}"
}