mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
28 lines
701 B
Bash
28 lines
701 B
Bash
pkgname=fcitx-libpinyin
|
|
pkgver=0.4.0
|
|
pkgrel=1
|
|
pkgdesc="Fcitx Wrapper for libpinyin."
|
|
arch=('x86_64')
|
|
url="https://fcitx-im.org/wiki/Fcitx"
|
|
license=('GPL')
|
|
depends=('fcitx>=4.2.8' 'libpinyin' 'qt' 'qtwebkit' 'glib2' 'dbus')
|
|
makedepends=('cmake' 'intltool' 'wget')
|
|
source=("https://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}_dict.tar.xz")
|
|
sha256sums=('02d5f9b787f124c367abb5862bacd70d47cfb9ff9458ec1227e963fcd3a95d36')
|
|
|
|
build(){
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
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
|
|
}
|