desktop/kcm-fcitx/PKGBUILD

34 lines
898 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
pkgname=kcm-fcitx
2017-09-16 14:56:51 +08:00
pkgver=0.5.5
2015-10-06 06:59:49 +08:00
pkgrel=1
2011-09-25 02:41:58 +08:00
pkgdesc="KDE Config Module for Fcitx"
2015-09-04 04:11:39 +08:00
arch=('x86_64')
2011-09-25 02:41:58 +08:00
url="https://github.com/fcitx/kcm-fcitx"
license=('GPL')
2015-09-04 04:11:39 +08:00
depends=('fcitx-qt5' 'kcoreaddons' 'kwidgetsaddons' 'kcmutils' 'kitemviews' 'ki18n' 'kio' 'knewstuff')
makedepends=('extra-cmake-modules' 'make' 'cmake')
2015-10-06 06:59:49 +08:00
source=(http://download.fcitx-im.org/$pkgname/$pkgname-${pkgver}.tar.xz{,.sig})
2017-09-16 14:56:51 +08:00
sha512sums=('e6a7bcad10003a956389ee266cf6d2f3730dafafcdd0bb43de328397749775e5cd305f16fdca2365e246c903677dba042da81a6dfd873aa1be74174e2b0b372e'
2015-10-06 06:59:49 +08:00
'SKIP')
validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9')
prepare() {
mkdir build
}
2011-09-25 02:41:58 +08:00
2015-09-04 04:11:39 +08:00
build() {
2015-10-06 06:59:49 +08:00
cd build
cmake ../$pkgname-$pkgver \
2015-09-04 04:11:39 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
2015-09-04 04:29:06 +08:00
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
2015-10-06 06:59:49 +08:00
make
2011-09-25 02:41:58 +08:00
}
2015-09-04 04:11:39 +08:00
package() {
2015-10-06 06:59:49 +08:00
cd build
make DESTDIR="$pkgdir" install
2015-09-04 04:29:06 +08:00
}