PKGBUILD 1.24 KB
Newer Older
AlmAck's avatar
AlmAck committed
1 2 3
# Include global configuration

pkgname=libksieve
totte's avatar
totte committed
4
pkgver=19.08.2
5
pkgrel=3
AlmAck's avatar
AlmAck committed
6 7 8 9 10 11 12 13
pkgdesc="Lib which manages sieve support"
arch=('x86_64')
url='https://github.com/KDE/libksieve.git'
license=('LGPL')
depends=(kidentitymanagement pimcommon kmailtransport)
makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'qt5-tools')
groups=(kde kde-applications kdepim kde-uninstall)
options=('docs' 'debug')
14
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
totte's avatar
totte committed
15
sha256sums=('5c5bb9182e53a2a928d70985f6dd514c8b308891c4899b942784e80d221318f6'
Luca Giambonini's avatar
Luca Giambonini committed
16
            'SKIP')
17 18
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
AlmAck's avatar
AlmAck committed
19 20 21 22 23 24 25

prepare() {
    mkdir -p build
}

build() {
    cd build
26 27 28 29 30 31 32 33 34
    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
35 36 37 38 39 40 41 42
    make
}

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