mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
729 B
Bash
28 lines
729 B
Bash
pkgname=fcitx-unikey
|
|
pkgver=0.2.7
|
|
pkgrel=1
|
|
pkgdesc="Fcitx Wrapper for Unikey (Vietnamese)."
|
|
arch=('x86_64')
|
|
url="https://github.com/fcitx/fcitx-unikey"
|
|
license=('GPL')
|
|
depends=('fcitx')
|
|
optdepends=('fcitx-qt5: To run the fcitx unikey macro editor')
|
|
makedepends=('cmake' 'fcitx-qt5')
|
|
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=('e750774b73b08e51148b963736d8207e50c3973e5456b6569cb7ad86831e0e59')
|
|
|
|
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
|
|
}
|