desktop/fcitx-qt5/PKGBUILD

27 lines
756 B
Bash
Raw Normal View History

2013-02-21 22:09:45 +08:00
pkgname=fcitx-qt5
2015-05-26 18:06:37 +08:00
pkgver=1.0.2
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')
2015-02-27 05:23:30 +08:00
depends=('fcitx>=4.2.7' 'qt5-base>=5.4.1')
2015-01-16 06:25:41 +08:00
makedepends=('cmake' 'extra-cmake-modules')
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
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib ..
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}/build"
make install DESTDIR="${pkgdir}"
}
2015-05-26 18:06:37 +08:00
sha512sums=('f7075d5334e29fd00c54563182c9cc4027011503aa14d577aa2fb75eb8558c385d91c939f1f21e51850c9c64fc5c396aad5b32fdcc8ddd99c46ec74bd577255d')