From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/fcitx-anthy/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/fcitx-anthy/PKGBUILD (limited to 'community/fcitx-anthy/PKGBUILD') 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 +# Contributor: lh + +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') -- cgit v1.2.3-54-g00ecf