PKGBUILD 1.44 KB
Newer Older
1
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwrited
Fabian Kosmale's avatar
Fabian Kosmale committed
2 3

pkgname=kwrited
Luca Giambonini's avatar
Luca Giambonini committed
4
pkgver=5.13.5
5
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
6
pkgdesc='Kwrited'
7
arch=('x86_64')
Xuetian Weng's avatar
Xuetian Weng committed
8
url='https://projects.kde.org/projects/kde/workspace/kwrited'
Fabian Kosmale's avatar
Fabian Kosmale committed
9
license=('LGPL')
Luca Giambonini's avatar
Luca Giambonini committed
10 11
depends=(kpty knotifications kdbusaddons)
makedepends=(extra-cmake-modules kdoctools python3)
Fabian Kosmale's avatar
Fabian Kosmale committed
12 13 14
checkdepends=("cmake")
groups=('plasma')
options=("debug")
15
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
Luca Giambonini's avatar
Luca Giambonini committed
16
sha256sums=('caabc136af8bede8232484a23da7bd9d06f4121813f725b2d02fb24da6841694'
Luca Giambonini's avatar
Luca Giambonini committed
17
             'SKIP' )
18 19 20 21
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell
              '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
              'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson
              '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
Fabian Kosmale's avatar
Fabian Kosmale committed
22 23 24 25 26 27 28

prepare() {
  mkdir -p build
}

build() {
  cd build
Luca Giambonini's avatar
Luca Giambonini committed
29 30
  cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
31 32 33 34 35 36 37
        -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 "$@" \
38
        -DPYTHON_EXECUTABLE=/usr/bin/python3
Fabian Kosmale's avatar
Fabian Kosmale committed
39 40 41 42 43 44 45
  make
}

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