411746babf
[ci:skip-build]: ollieparanoid made sure that this builds for all arches
33 lines
974 B
Text
33 lines
974 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=grantleetheme
|
|
pkgver=18.12.3
|
|
pkgrel=0
|
|
pkgdesc="KDE PIM mail related libraries"
|
|
arch="all"
|
|
url="https://kontact.kde.org/"
|
|
license="GPL-2.0 LGPL-2.1"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kiconthemes-dev knewstuff-dev grantlee-dev"
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
options="!check" # Requires running X11 server
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="1dd163142e774db8ffe4852e7bc6d1c95f8bdd568abe451ade00e9256b9c016455db0dc9b0abb81ecd02b017bcf4cd7db8066b1dad6ad2131dbc9bd9c7a2ae49 grantleetheme-18.12.3.tar.xz"
|