core/plasma-framework/PKGBUILD

38 lines
998 B
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}
pkgrel=2
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"
'0001-AppletQuickItem-Drop-timer-to-create-full-representa.patch')
sha256sums=( $(getSum ${pkgname})
'8ceb9be7336583870a7a485e1b510517a6e8629dc2bcd9b17d6bf06c83f160d0')
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
cd $pkgname-$pkgver
patch -p1 -R < $srcdir/0001-AppletQuickItem-Drop-timer-to-create-full-representa.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
}