mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 10:27:15 +08:00
27 lines
666 B
Bash
27 lines
666 B
Bash
pkgname=fcitx-unikey
|
|
pkgver=0.2.6
|
|
pkgrel=1
|
|
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
|
|
arch=('x86_64')
|
|
url="https://github.com/fcitx/fcitx-unikey"
|
|
license=('GPL')
|
|
depends=('fcitx>=4.2.8' 'qt')
|
|
makedepends=('cmake')
|
|
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=('9830910f628d455d2701ba430e6cb5b41409a2ac2f9b098e5ed6aaa54d15a3cf')
|
|
|
|
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
|
|
}
|