summaryrefslogtreecommitdiff
path: root/community/fcitx-rime
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/fcitx-rime
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/fcitx-rime')
-rw-r--r--community/fcitx-rime/PKGBUILD32
-rw-r--r--community/fcitx-rime/fcitx-rime.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/community/fcitx-rime/PKGBUILD b/community/fcitx-rime/PKGBUILD
new file mode 100644
index 000000000..6c75e8126
--- /dev/null
+++ b/community/fcitx-rime/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 94200 2013-07-16 16:25:08Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: lh <jason52lh@gmail.com>
+
+pkgname=fcitx-rime
+pkgver=0.2.2
+pkgrel=1
+pkgdesc='Fcitx Wrapper for librime'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fcitx"
+license=('GPL')
+depends=('fcitx>=4.2.8.1' "librime" "brise")
+makedepends=('cmake')
+install=fcitx-rime.install
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}.tar.xz")
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ mkdir -p build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums=('4497cfdf38e6fd85e358b0c8b52efa21b54a8c46cf5f6a640ca1c1f91a30df2a2033f46eec2d123bfadf9c8c58e4b8f6ec96b1564d32b2b8157261ca14a2855b')
diff --git a/community/fcitx-rime/fcitx-rime.install b/community/fcitx-rime/fcitx-rime.install
new file mode 100644
index 000000000..6b1b64bdd
--- /dev/null
+++ b/community/fcitx-rime/fcitx-rime.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}