PKGBUILD 1.35 KB
Newer Older
AlmAck's avatar
AlmAck committed
1 2

pkgname=plasma-integration
Luca Giambonini's avatar
Luca Giambonini committed
3
pkgver=5.13.5
4
pkgrel=1
AlmAck's avatar
AlmAck committed
5 6 7 8
pkgdesc="Qt Platform Theme integration plugins for the Plasma workspaces"
arch=(x86_64)
url='https://www.kde.org/workspaces/plasmadesktop/'
license=(LGPL)
Luca Giambonini's avatar
Luca Giambonini committed
9
depends=(kio kwayland libxcursor ttf-noto ttf-oxygen qqc2-desktop-style)
Luca Giambonini's avatar
Luca Giambonini committed
10
makedepends=("extra-cmake-modules>=5.13.5" python3 breeze)
AlmAck's avatar
AlmAck committed
11 12
options=("debug")
groups=('plasma')
13
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
Luca Giambonini's avatar
Luca Giambonini committed
14
sha256sums=('e2d95919ea223771c162ffce19b191fef55c0f5a1016d0029293969b8ecaa748'
Luca Giambonini's avatar
Luca Giambonini committed
15
             'SKIP' )
16 17 18 19
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell
              '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
              'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson
              '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
AlmAck's avatar
AlmAck committed
20 21 22 23 24 25 26

prepare() {
  mkdir -p build
}

build() {
  cd build
Luca Giambonini's avatar
Luca Giambonini committed
27 28 29 30 31 32 33 34 35
  cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
AlmAck's avatar
AlmAck committed
36 37 38 39 40 41 42
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}