desktop/ksmtp/PKGBUILD
2018-01-16 16:39:44 +00:00

35 lines
720 B
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})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys[@]})
prepare() {
mkdir -p build
cd $pkgname-$pkgver
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}