mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
669 B
Bash
28 lines
669 B
Bash
pkgname=fcitx-libpinyin
|
|
pkgver=0.3.3
|
|
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=1.2.91' 'qt' 'qtwebkit')
|
|
makedepends=('cmake')
|
|
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=('a85b11cc0270b733ef05daf8fd1ff5eae3d43fb65a66f253afb478fe0c9f2823')
|
|
|
|
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
|
|
}
|