desktop/kcm-fcitx/PKGBUILD
2015-09-03 20:11:39 +00:00

26 lines
630 B
Bash

pkgname=kcm-fcitx
pkgver=0.5.1
pkgrel=1
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
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
}