diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/fcitx-anthy | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/fcitx-anthy')
-rw-r--r-- | community/fcitx-anthy/PKGBUILD | 33 | ||||
-rw-r--r-- | community/fcitx-anthy/fcitx-anthy.install | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/fcitx-anthy/PKGBUILD b/community/fcitx-anthy/PKGBUILD new file mode 100644 index 000000000..4bb6d088f --- /dev/null +++ b/community/fcitx-anthy/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 93363 2013-07-02 09:47:20Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: lh <jason52lh@gmail.com> + +pkgname=fcitx-anthy +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Fcitx Wrapper for anthy." +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL') +depends=('fcitx>=4.2.5' 'anthy') +makedepends=('cmake' 'intltool') +source=("http://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz") +install=fcitx-anthy.install + +build(){ + cd "$srcdir"/${pkgname}-${pkgver} + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver}/build + make DESTDIR=${pkgdir} install +} + +md5sums=('c02e4393d6141a4d0fa1693bf38a8f79') diff --git a/community/fcitx-anthy/fcitx-anthy.install b/community/fcitx-anthy/fcitx-anthy.install new file mode 100644 index 000000000..6b1b64bdd --- /dev/null +++ b/community/fcitx-anthy/fcitx-anthy.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 +} |