desktop/fcitx-anthy/PKGBUILD
2015-06-11 14:26:08 +00:00

27 lines
705 B
Bash

pkgname=fcitx-anthy
pkgver=0.2.2
pkgrel=1
pkgdesc="Japanese Input support (Anthy) for fcitx."
arch=('x86_64')
url="https://github.com/fcitx/fcitx-anthy"
license=('GPL')
depends=('fcitx>=4.2.8' 'anthy')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha512sums=('a4b1eeba813481cc40617e70bd5ee97d1921dc92bab15cf0bdc059d689c239e46caf9e8aba3403ff6374acfbdea565261a948444fe40fa18d5513797eccbd28d')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package () {
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}