mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 17:47:14 +08:00
29 lines
704 B
Bash
29 lines
704 B
Bash
|
|
pkgname=kcm-fcitx
|
|
pkgver=0.5.1
|
|
pkgrel=3
|
|
pkgdesc="KDE Config Module for Fcitx"
|
|
arch=('x86_64')
|
|
url="https://github.com/fcitx/kcm-fcitx"
|
|
license=('GPL')
|
|
depends=('fcitx-qt5' 'kcoreaddons' 'kwidgetsaddons' 'kcmutils' 'kitemviews' 'ki18n' 'kio' 'knewstuff')
|
|
makedepends=('extra-cmake-modules' 'make' 'cmake')
|
|
source=(https://github.com/fcitx/${pkgname}/archive/${pkgver}.tar.gz)
|
|
md5sums=('f1ed84843e1626073dc169afa4dd3a6d')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|