desktop/plasma-desktop/PKGBUILD

40 lines
1.1 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}
pkgrel=3
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'
'kwin' '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')
2014-12-01 13:27:04 +08:00
optdepends=('plasma-nm: Network manager applet')
2014-06-22 22:33:39 +08:00
checkdepends=("cmake")
replaces=('kde-workspace')
2014-12-01 13:27:04 +08:00
conflicts=('kde-workspace' 'kde-baseapps-kdepasswd')
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
}