summaryrefslogtreecommitdiff
path: root/community/fcitx-chewing/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-chewing/PKGBUILD')
-rw-r--r--community/fcitx-chewing/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/fcitx-chewing/PKGBUILD b/community/fcitx-chewing/PKGBUILD
new file mode 100644
index 000000000..f2dc14eaa
--- /dev/null
+++ b/community/fcitx-chewing/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 93175 2013-06-27 03:40:28Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-chewing
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Fcitx Wrapper for chewing'
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx-chewing"
+license=('GPL')
+depends=('libchewing' 'fcitx>=4.2.7')
+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 ..
+ make
+}
+
+package() {
+ cd "$srcdir"/${pkgname}-${pkgver}/build
+ make DESTDIR="$pkgdir" install
+}
+md5sums=('1879ad51b16e07db40338db55054833c')