desktop/fcitx-chewing/PKGBUILD

29 lines
676 B
Bash
Raw Permalink Normal View History

2012-02-23 12:52:26 +08:00
# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=fcitx-chewing
2014-06-06 12:44:05 +08:00
pkgver=0.2.2
2013-01-30 08:18:25 +08:00
pkgrel=1
2012-02-23 12:52:26 +08:00
pkgdesc="Fcitx Wrapper for chewing."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
2013-01-30 08:18:25 +08:00
depends=('fcitx>=4.2.7' 'libchewing')
makedepends=('cmake' )
2014-06-06 12:44:05 +08:00
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
2012-02-23 12:52:26 +08:00
build(){
cd "$srcdir/${pkgname}-${pkgver}"
2014-06-06 12:44:05 +08:00
[[ -d build ]] && rm -rf build ; mkdir build
2012-02-23 12:52:26 +08:00
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
2014-06-06 12:44:05 +08:00
package (){
2012-02-23 12:52:26 +08:00
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
2014-06-06 12:44:05 +08:00
md5sums=('5f24cffc068043251671f9e385d4a6cd')