PKGBUILD 997 Bytes
Newer Older
1 2 3


pkgname=kxmlrpcclient
Luca Giambonini's avatar
Luca Giambonini committed
4
pkgver=5.49.0
5
pkgrel=1
6 7 8 9 10
pkgdesc='Interaction with XMLRPC services'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/pim/kxmlrpcclient'
license=('LGPL')
depends=('kio')
Luca Giambonini's avatar
Luca Giambonini committed
11
makedepends=("extra-cmake-modules>=5.49.0")
12 13
groups=('kf5')
options=("debug")
14
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
Luca Giambonini's avatar
Luca Giambonini committed
15
sha256sums=('06c0dc10623ecb1b844c47577a53229c7d5789f895902fda9ef21c7decb69250'
16 17
            SKIP)
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
18 19 20 21 22 23 24

prepare() {
  mkdir -p build
}

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

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