desktop/ksmtp/PKGBUILD
2017-12-28 22:32:19 +00:00

41 lines
1.2 KiB
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=ksmtp
pkgver=${_kdever}
pkgrel=1
pkgdesc="Job-based library to send email through an SMTP server"
arch=(x86_64)
url="https://community.kde.org/KDE_PIM"
license=(LGPL)
depends=(kmime kio)
makedepends=(extra-cmake-modules python3)
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
kdebug-388068.patch::"https://cgit.kde.org/ksmtp.git/patch/?id=ec2afd27"
kdebug-387926.patch::"https://cgit.kde.org/ksmtp.git/patch/?id=5199ed07")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP'
'c445ed8e7284be8de3117d3174be99729d1234ed624313f24ced66e99594b287'
'a9fe4d38faf0447a1ee96c52bdec7d14e1017657baab94d8650e926c28685e41')
validpgpkeys=(${Avalidpgpkeys[@]})
prepare() {
mkdir -p build
cd $pkgname-$pkgver
patch -p1 -i ../kdebug-388068.patch # Fix duplicate authentication
patch -p1 -i ../kdebug-387926.patch # Send the correct hostname with the HELO/EHLO command
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}