desktop/ksmtp/PKGBUILD

35 lines
720 B
Bash
Raw Normal View History

2017-12-29 06:32:19 +08:00
# 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)
2018-01-17 00:39:44 +08:00
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
2017-12-29 06:32:19 +08:00
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
2018-01-17 00:39:44 +08:00
'SKIP')
2017-12-29 06:32:19 +08:00
validpgpkeys=(${Avalidpgpkeys[@]})
prepare() {
mkdir -p build
cd $pkgname-$pkgver
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}