diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-21 14:30:15 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-21 15:02:26 -0300 |
commit | 8fad9965439f2dfb5619a83706eb02cf76c34e67 (patch) | |
tree | c98b70900c12bd790bce72200e66fe3bb960c0b1 | |
parent | 075229bc01bddbfc5669ab2ef1d470ac9e703228 (diff) | |
download | aports-8fad9965439f2dfb5619a83706eb02cf76c34e67.tar.bz2 aports-8fad9965439f2dfb5619a83706eb02cf76c34e67.tar.xz |
testing/libgravatar: new aport
-rw-r--r-- | testing/libgravatar/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libgravatar/APKBUILD b/testing/libgravatar/APKBUILD new file mode 100644 index 0000000000..1ee5727808 --- /dev/null +++ b/testing/libgravatar/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libgravatar +pkgver=19.04.2 +pkgrel=0 +pkgdesc="KDE PIM library providing Gravatar support" +arch="all" +url="https://kontact.kde.org/" +license="LGPL-2.0-or-later" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev ktextwidgets-dev kio-dev pimcommon-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +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 xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="794bd7de1b1b207a845349eceef5df34043753a9a04c3a95c313458b37ee9141a904c41022b6a73f94e1d0741586b0cb0eb9319dc9a69f64cfab29ba6f8c85f3 libgravatar-19.04.2.tar.xz" |