35 lines
977 B
Text
35 lines
977 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=ksmtp
|
|
pkgver=18.08.1
|
|
pkgrel=0
|
|
pkgdesc='Job-based library to send email through an SMTP server'
|
|
arch="all"
|
|
url='https://github.com/kde/ksmtp'
|
|
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=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="5f60b200516a0bfa08ea8c51e2f1520d9d6197b0e5848dd42b7ad77671026a0971fc8a6868443e14a6c2a95c31ba48eed57102c562ddafe5c8e3fb13d439a100 ksmtp-18.08.1.tar.xz"
|