Commit d0f688ed authored by totte's avatar totte

Frameworks: Add kcalendarcore and kcontacts, #241

[skip-ci]
parent 0be8040e
Pipeline #4689 skipped
......@@ -79,4 +79,5 @@ prison
purpose
kholidays
syndication
kcalendarcore
kcontacts
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=kcalendarcore
pkgver=5.63.0
pkgrel=1
pkgdesc="The KDE calendar access library"
arch=('x86_64')
url="https://community.kde.org/Frameworks"
license=(LGPL)
depends=(libical qt5-base)
makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
conflicts=(kcalcore)
provides=(kcalcore)
replaces=(kcalcore)
groups=('kf5')
options=('debug')
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('f7d33ec65cf954a0460258694ecb2e14bf6c00cee5ea9fdc3e015e78947d896a'
'SKIP')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
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 "$@"
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=kcontacts
epoch=1
pkgver=5.63.0
pkgrel=1
pkgdesc="Address book API for KDE"
arch=('x86_64')
url="https://community.kde.org/Frameworks"
license=(LGPL)
depends=(kcoreaddons kconfig ki18n kcodecs iso-codes)
makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
groups=('kf5')
options=('debug')
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('0677177d6810047876a219445232c0bf91dc1cdba3cbe4133a0a7eda98c381e8'
'SKIP')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
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 "$@"
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment