diff options
Diffstat (limited to 'testing/geary/APKBUILD')
-rw-r--r-- | testing/geary/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/geary/APKBUILD b/testing/geary/APKBUILD new file mode 100644 index 0000000000..686e77dca1 --- /dev/null +++ b/testing/geary/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=geary +pkgver=3.32.2 +pkgrel=0 +pkgdesc="Geary is an email application built around conversations" +url="https://wiki.gnome.org/Apps/Geary" +arch="all !armhf" #failing tests +license="LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause" +depends="iso-codes" +makedepends="meson glib-dev gtk+3.0-dev sqlite-dev webkit2gtk-dev enchant2-dev + gcr-dev folks-dev libgee-dev gnome-online-accounts-dev json-glib-dev iso-codes-dev + libcanberra-dev libnotify-dev libsecret-dev libxml2-dev vala gmime26-dev itstool" +checkdepends="xvfb-run" +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.gnome.org/sources/geary/${pkgver%.*}/geary-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Dlibunwind_optional=true \ + . output + ninja -C output +} + +check() { + xvfb-run ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="8ef01c497b22a8d2257103b508b1416b038d8fb0cb95f40010347722f9e321671c2a0869bd1220a8de0efdc71c5cd8c72770f232f58509f902c9e4a29530e5dd geary-3.32.2.tar.xz" |