pmaports/kde/kmailtransport/APKBUILD

36 lines
1 KiB
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=kmailtransport
pkgver=18.12.0
2018-10-08 06:50:31 +00:00
pkgrel=0
pkgdesc="Manage mail transport"
arch="all"
url="https://api.kde.org/kdepim/kmailtransport/html"
license="LGPL-2.1"
depends=""
depends_dev="kcmutils-dev kwallet-dev kmime-dev akonadi-dev akonadi-mime-dev ksmtp-dev libkgapi-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # Requires running X11 server
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="7f86e84b38262fd14164f5b340ab9957efa696be72613892d666426c4ed7b1e90ce71f1e19a04ce965958ce33b93d26f84983394b99cb31668b21b4bfaf2384d kmailtransport-18.12.0.tar.xz"