desktop/fcitx-anthy/PKGBUILD

27 lines
707 B
Bash
Raw Normal View History

2012-07-19 23:17:15 +08:00
pkgname=fcitx-anthy
2017-09-16 13:38:45 +08:00
pkgver=0.2.3
2012-07-19 23:17:15 +08:00
pkgrel=1
pkgdesc="Japanese Input support (Anthy) for fcitx."
2015-06-11 22:26:08 +08:00
arch=('x86_64')
2014-06-06 12:44:05 +08:00
url="https://github.com/fcitx/fcitx-anthy"
2012-07-19 23:17:15 +08:00
license=('GPL')
2017-09-16 13:38:45 +08:00
depends=('fcitx>=4.2.9.2' 'anthy')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
2017-09-16 13:38:45 +08:00
sha512sums=('2769871059053fb370ba84af7cdf0c461d64724a240d58a5a8889cfd9bfb5d145998f79ed2d06a1ae1ab907f9db04fc122bfaf6957ef572fc833e400ffefc642')
2012-07-19 23:17:15 +08:00
build(){
cd "$srcdir/${pkgname}-${pkgver}"
2015-06-11 22:26:08 +08:00
mkdir -p build
2012-07-19 23:17:15 +08:00
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
2014-06-06 12:44:05 +08:00
package () {
2012-07-19 23:17:15 +08:00
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
2014-06-06 12:44:05 +08:00