summaryrefslogtreecommitdiff
path: root/community/ibus-rime
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ibus-rime
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ibus-rime')
-rw-r--r--community/ibus-rime/PKGBUILD28
-rw-r--r--community/ibus-rime/ibus-rime.install3
2 files changed, 31 insertions, 0 deletions
diff --git a/community/ibus-rime/PKGBUILD b/community/ibus-rime/PKGBUILD
new file mode 100644
index 000000000..d17860c54
--- /dev/null
+++ b/community/ibus-rime/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 90137 2013-05-07 05:26:33Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: GONG Chen <chen dot sst at gmail dot com>
+# Contributor: 網軍總司令
+
+pkgname=ibus-rime
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="Rime input method engine for ibus"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/rimeime/"
+license=('GPL3')
+depends=('ibus' 'libnotify' 'librime>=0.9.9' 'brise')
+makedepends=('cmake')
+install='ibus-rime.install'
+source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums=('b18e6f3ba6c97e3b55900d9c4cb70d58f24b202bf2ae894ca861af10ddb028c193d9ac97e609f3b4f0f183b212b74180a02e5d823f235b4c799733933a48afb7')
diff --git a/community/ibus-rime/ibus-rime.install b/community/ibus-rime/ibus-rime.install
new file mode 100644
index 000000000..1ed0581cb
--- /dev/null
+++ b/community/ibus-rime/ibus-rime.install
@@ -0,0 +1,3 @@
+pre_upgrade() {
+ rm -f /usr/share/ibus-rime/*.bin
+}