diff options
author | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
commit | 73cd7952c96190212616ca90d5afe1ce5cb2c9ce (patch) | |
tree | 274972d0d967441e136af716dd87f3cee0cee7f2 /community/fcitx-unikey/PKGBUILD | |
parent | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (diff) |
Fri Nov 16 01:34:04 PST 2012
Diffstat (limited to 'community/fcitx-unikey/PKGBUILD')
-rw-r--r-- | community/fcitx-unikey/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 <felixonmars@gmail.com> + +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') |