desktop/fcitx-qt5/PKGBUILD

27 lines
756 B
Bash
Raw Normal View History

2013-02-21 22:09:45 +08:00
pkgname=fcitx-qt5
pkgver=1.1.0
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")
sha512sums=('1f11c13162483957f0ff29dc8d05e8c781bfcc6f60d938037b94ae825be9c1bc47f594540a2d1d3ffa7185abcc9fd734522a64e36813d3116ec394b52f98135c')
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
}