summaryrefslogtreecommitdiff
path: root/community/fcitx-qt5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-qt5/PKGBUILD')
-rw-r--r--community/fcitx-qt5/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/fcitx-qt5/PKGBUILD b/community/fcitx-qt5/PKGBUILD
new file mode 100644
index 000000000..e761ce6e3
--- /dev/null
+++ b/community/fcitx-qt5/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 85500 2013-03-02 04:37:50Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-qt5
+pkgver=0.1.1
+pkgrel=5
+pkgdesc="QT5 IM Module for Fcitx"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fcitx"
+license=('GPL')
+depends=('fcitx>=4.2.7' 'qt5-base')
+makedepends=('cmake')
+source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ mkdir -p 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=('c93a4922ddc4f042749e707673f0fa41')