diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-19 16:45:38 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-20 08:27:45 -0300 |
commit | 33a5ce9700962f4765f3371ce589e6210f0a4c2b (patch) | |
tree | 915eed81eb733f64282045ca956651c935eaef3e /testing/libkleo/APKBUILD | |
parent | b913da91d6ffe53bc5e2e62d323a4b3179eb5f31 (diff) | |
download | aports-33a5ce9700962f4765f3371ce589e6210f0a4c2b.tar.bz2 aports-33a5ce9700962f4765f3371ce589e6210f0a4c2b.tar.xz |
testing/libkleo: new aport
Diffstat (limited to 'testing/libkleo/APKBUILD')
-rw-r--r-- | testing/libkleo/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libkleo/APKBUILD b/testing/libkleo/APKBUILD new file mode 100644 index 0000000000..2f1f707377 --- /dev/null +++ b/testing/libkleo/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libkleo +pkgver=19.04.2 +pkgrel=0 +pkgdesc="KDE PIM cryptographic library" +arch="all" +url="https://kontact.kde.org" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev kcompletion-dev kwindowsystem-dev kcoreaddons-dev kcodecs-dev kitemmodels-dev kpimtextedit-dev gpgme-dev boost-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="9dbe7a1671d819d8e69fd2701e45fec59c49c3ccbe5d92e3b4ad4f401c77c9c8b011c2de166f2ea503584aef8d784d0f269a2bd500fe327a8b1e1205d4a1f649 libkleo-19.04.2.tar.xz" |