desktop/fcitx-qt5/PKGBUILD

27 lines
756 B
Bash
Raw Normal View History

2013-02-21 22:09:45 +08:00
pkgname=fcitx-qt5
2017-01-28 12:10:08 +08:00
pkgver=1.0.6
2015-12-30 00:12:50 +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')
2015-11-10 09:08:15 +08:00
depends=('fcitx>=4.2.7' 'qt5-base>=5.5.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")
2017-01-28 12:10:08 +08:00
sha512sums=('ea816a3bc324b838d77d7ee67a05853f7f07cbc3c0c1e0a3809fe72084f7e0db8e98623499299712b8b496922e46acb06cf3a1cbd3ff2ef1de92ca5a74d540da')
2015-08-23 02:20:02 +08:00
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-11-10 09:08:15 +08:00
}