mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
630 B
Bash
27 lines
630 B
Bash
pkgname=fcitx-chewing
|
|
pkgver=0.2.3
|
|
pkgrel=1
|
|
pkgdesc="Fcitx Wrapper for chewing."
|
|
arch=('x86_64')
|
|
url="https://github.com/fcitx/fcitx-chewing"
|
|
license=('GPL')
|
|
depends=('fcitx>=4.2.7' 'libchewing')
|
|
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
|
|
}
|
|
|
|
md5sums=('6d331e7abb439ac8d1e7538ae94f53d2')
|