desktop/fcitx-table-extra/PKGBUILD
2014-06-05 08:52:57 +00:00

30 lines
710 B
Bash

# Maintainer: Weng Xuetian <wengxt AT gmail com>
pkgname=fcitx-table-extra
pkgver=0.3.6
pkgrel=1
pkgdesc="Extra table data for fcitx, including Zhengma, Cangjie, Boshiamy"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.8.4')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
build(){
cd "$srcdir/${pkgname}-${pkgver}"
[[ -d build ]] && 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=('0093069e0c754941b38115ebb768696e')