pmaports/kde/ksmtp/APKBUILD

36 lines
983 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=ksmtp
pkgver=18.12.3
pkgrel=1
pkgdesc="Job-based library to send email through an SMTP server"
2018-10-08 06:50:31 +00:00
arch="all"
url="https://kontact.kde.org"
2018-10-08 06:50:31 +00:00
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kio-dev cyrus-sasl-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" # Broken
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
2018-10-08 06:50:31 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
2018-10-08 06:50:31 +00:00
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="335f3b4f9572a3d96c2d91f529dfc6c4c620d0f3f07db2567bbf0f108cc58f9a15c5ac020dd6e875ba76e822fd80319ca7262e34ff9d742afe8db857b97c23cd ksmtp-18.12.3.tar.xz"