From 73cd7952c96190212616ca90d5afe1ce5cb2c9ce Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2012 01:35:29 -0800 Subject: Fri Nov 16 01:34:04 PST 2012 --- community/fcitx-unikey/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/fcitx-unikey/PKGBUILD (limited to 'community/fcitx-unikey/PKGBUILD') diff --git a/community/fcitx-unikey/PKGBUILD b/community/fcitx-unikey/PKGBUILD new file mode 100644 index 000000000..b2cd0abf7 --- /dev/null +++ b/community/fcitx-unikey/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 80099 2012-11-16 03:00:26Z fyan $ +# Maintainer: Felix Yan + +pkgname=fcitx-unikey +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Fcitx Wrapper for unikey" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +license=('GPL') +depends=('fcitx>=4.2.3') +optdepends=('qt: To run the fcitx unikey macro editor') +makedepends=('cmake' 'intltool' 'qt') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +install='fcitx-unikey.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=('91dc7bd6991df3c975a0b51a246836bf') -- cgit v1.2.3-54-g00ecf