pmaports/kde/grantleetheme/APKBUILD

36 lines
1,004 B
Text
Raw Normal View History

2018-10-08 06:50:31 +00:00
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=grantleetheme
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc="KDE PIM mail related libraries"
arch="all"
url="https://kontact.kde.org/"
license="GPL-2.0 LGPL-2.1"
depends=
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 ../$pkgname-$pkgver \
-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="852923dde7b8c0fb97fb00617b741dd1659dc9930a8b3f91ac6021e243e086c476da21ff7ce2d93e2d939a64b89301aa3ff151b351ae257d686878a0e9733ac5 grantleetheme-18.12.0.tar.xz"