desktop/fcitx-anthy/PKGBUILD

27 lines
705 B
Bash
Raw Normal View History

2012-07-19 23:17:15 +08:00
pkgname=fcitx-anthy
2015-06-11 22:26:08 +08:00
pkgver=0.2.2
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')
depends=('fcitx>=4.2.8' 'anthy')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
2015-06-11 22:26:08 +08:00
sha512sums=('a4b1eeba813481cc40617e70bd5ee97d1921dc92bab15cf0bdc059d689c239e46caf9e8aba3403ff6374acfbdea565261a948444fe40fa18d5513797eccbd28d')
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