mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../plasma.conf
|
|
|
|
pkgname=kcm-touchpad-kf5
|
|
_pkgname=kcm-touchpad
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="KCM, daemon and applet for touchpad"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/kcm-touchpad'
|
|
license=('LGPL')
|
|
depends=('qt5-x11extras' 'kded' 'kcmutils' 'kinit' 'kcoreaddons' 'kdbusaddons' 'kcompletion' 'knotifyconfig'
|
|
'kwidgetsaddons' 'ki18n' 'kservice' 'knotifications' 'kxmlgui' 'kglobalaccel' 'plasma-framework'
|
|
'xf86-input-synaptics')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'xorg-server-devel')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${_pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|