summaryrefslogtreecommitdiff
path: root/community/fcitx-skk
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 04:00:43 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-06 04:00:43 +0000
commit6b55be9272c15e1858a1a7236482298f677c1a3b (patch)
treea00e7300c358b2a4b16184192c53b8ce555a2412 /community/fcitx-skk
parent8faa42b28f39ace5fc2c3ec8a054fa0a5b246eab (diff)
Fri Jun 6 03:57:24 UTC 2014
Diffstat (limited to 'community/fcitx-skk')
-rw-r--r--community/fcitx-skk/PKGBUILD28
-rw-r--r--community/fcitx-skk/fcitx-skk.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/community/fcitx-skk/PKGBUILD b/community/fcitx-skk/PKGBUILD
new file mode 100644
index 000000000..038b67466
--- /dev/null
+++ b/community/fcitx-skk/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 112688 2014-06-05 02:42:00Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-skk
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Fcitx Wrapper for libskk"
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx-skk"
+license=('GPL')
+depends=('fcitx-qt4' 'libskk')
+makedepends=('cmake')
+install=$pkgname.install
+source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+
+build(){
+ cd ${pkgname}-${pkgver}
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('2482d5bd1f8ed10bc368164930f1bbbbb12f3475e777f09cf0234deca29f9ec90c0fdc5f207d3f9a8a49ef2d34f1aceae1eb5872cd2f0b5e3c678b3e4689df51')
diff --git a/community/fcitx-skk/fcitx-skk.install b/community/fcitx-skk/fcitx-skk.install
new file mode 100644
index 000000000..6b1b64bdd
--- /dev/null
+++ b/community/fcitx-skk/fcitx-skk.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
+}