desktop/kcm-fcitx/PKGBUILD

35 lines
899 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
pkgname=kcm-fcitx
pkgver=0.5.4
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})
sha512sums=('349fe50303e027f44b53d954c088e441450aad07dac3a1162a5dcf9c445ca9d04bd3c36475c17dab91ed2df9c3c71031d7582e39b85ad0465a816f7fc24ac0bd'
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
}