core/plasma-desktop/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/plasma-desktop
2014-06-22 22:33:39 +08:00
source ../plasma.conf
pkgname=plasma-desktop
pkgver=${PVersion}
2015-04-25 05:53:21 +08:00
pkgrel=1
2014-12-01 13:27:04 +08:00
pkgdesc='KDE Plasma Desktop'
2014-10-23 03:29:25 +08:00
arch=('x86_64')
2014-12-01 13:27:04 +08:00
url='https://www.kde.org/workspaces/plasmadesktop/'
2014-06-22 22:33:39 +08:00
license=('LGPL')
2014-12-01 13:27:04 +08:00
depends=('qt5-graphicaleffects' 'powerdevil' 'polkit-kde-agent-frameworks' 'libcanberra'
2015-04-12 07:53:47 +08:00
'kwin' 'kpeople' 'libusb-compat' 'libxkbfile' 'kmenuedit' 'systemsettings' 'ksysguard' 'breeze' 'krunner'
#sddm can be removed as a dependency in the future, only added here to automate the switch to Plasma 5
'sddm-kcm')
makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'baloo-kf5' 'xf86-input-synaptics' 'xorg-server-devel')
optdepends=('plasma-nm: Network manager applet'
'xf86-input-synaptics: Manage touchpad')
2014-06-22 22:33:39 +08:00
checkdepends=("cmake")
provides=("kcm-touchpad-kf5=${pkgver}")
replaces=('kde-workspace' 'kcm-touchpad-kf5<=5.2.0')
conflicts=('kde-workspace' 'kde-baseapps-kdepasswd' 'kcm-touchpad-kf5<=5.2.0')
2014-06-22 22:33:39 +08:00
groups=('plasma')
options=("debug")
2014-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
2014-06-22 22:33:39 +08:00
sha256sums=( $(getSum ${pkgname}) )
install=${pkgname}.install
2014-06-22 22:33:39 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
2014-06-22 22:33:39 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}