author | Andrea Scarpino
<andrea@archlinux.org> 2014-05-16 22:22:22 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2014-05-16 22:22:22 UTC |
parent | 483f31112fcd3392610748f015543648eb35dbfa |
PKGBUILD | +36 | -0 |
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6a44270 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=plasma-framework +pkgver=4.99.0 +pkgrel=1 +pkgdesc='Plasma library and runtime components based upon KF5 and Qt5' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/playground/libs/plasma-framework' +license=('LGPL') +depends=('qt5-quickcontrols' 'kidletime' 'kitemmodels' 'threadweaver' + 'kdeclarative' 'kross' 'kdnssd' 'kinit' + 'kactivities-frameworks' 'qt5-quick1') +makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools') +optdepends=('kde-workspace: provide a Plasma shell') +groups=('kf5') +source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz") +md5sums=('bb8077f5858643939bc002428cfcc338') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}