desktop/fcitx-anthy/PKGBUILD
2017-09-16 06:38:45 +01:00

27 lines
707 B
Bash

pkgname=fcitx-anthy
pkgver=0.2.3
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.9.2' 'anthy')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha512sums=('2769871059053fb370ba84af7cdf0c461d64724a240d58a5a8889cfd9bfb5d145998f79ed2d06a1ae1ab907f9db04fc122bfaf6957ef572fc833e400ffefc642')
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
}