desktop/fcitx-table-extra/PKGBUILD
2017-09-16 07:45:06 +01:00

28 lines
764 B
Bash

pkgname=fcitx-table-extra
pkgver=0.3.8
pkgrel=1
pkgdesc="Extra table data for fcitx, including Zhengma, Cangjie, Boshiamy"
arch=('x86_64')
url="https://github.com/fcitx/fcitx-table-extra"
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
}
sha512sums=('454798e9bd25c630ce98e2daf7296e82ba5fbc98027171038a5a7b9ac3169c153302a6703d9416718ec3a0b76db6d732caf3f03c6e6005841c9d7798702542df')