pmaports/kde/kmailtransport/APKBUILD
2018-11-27 07:47:11 +01:00

35 lines
1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmailtransport
pkgver=18.08.1
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="58c8b95cf1948be7f2781c6a4794e16947a6a67344ee1a29230f9d9f06e269a44c8c8634420c923cc60292091fc0caa1691332e796b78e4d38e33b8eda5e8867 kmailtransport-18.08.1.tar.xz"