diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fcitx-rime | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fcitx-rime')
-rw-r--r-- | community/fcitx-rime/PKGBUILD | 32 | ||||
-rw-r--r-- | community/fcitx-rime/fcitx-rime.install | 11 |
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 +} |