core/plasma-framework/PKGBUILD

39 lines
1.0 KiB
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=plasma-framework
pkgver=${KFVersion}
2016-03-03 05:45:02 +08:00
pkgrel=3
2014-11-15 06:35:29 +08:00
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/plasma-framework'
license=('LGPL')
2015-01-13 12:51:39 +08:00
depends=('qt5-quickcontrols' 'kactivities-frameworks' 'kpackage')
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools' 'kdoctools')
2014-11-15 06:35:29 +08:00
options=("debug")
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"
2016-03-03 05:45:02 +08:00
'AppletQuickItem-Fix-finding-own-attached-layout.patch')
sha256sums=( $(getSum ${pkgname})
2016-03-03 05:45:02 +08:00
'6094c6d9a7997554c74f930dc551517bf6e35e6e90700152aab12dec45455b86')
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
cd $pkgname-$pkgver
2016-03-03 05:45:02 +08:00
# https://bugs.kde.org/show_bug.cgi?id=358849
patch -Np1 < $srcdir/AppletQuickItem-Fix-finding-own-attached-layout.patch
2014-11-15 06:35:29 +08:00
}
build() {
cd build
2015-02-24 03:48:25 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
make
2014-11-15 06:35:29 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}