[arch-commits] Commit in (astroid astroid/repos astroid/trunk astroid/trunk/PKGBUILD)

Daurnimator daurnimator at gemini.archlinux.org
Fri May 6 14:46:19 UTC 2022


    Date: Friday, May 6, 2022 @ 14:46:18
  Author: daurnimator
Revision: 1196007

Add astroid based on AUR package

Added:
  astroid/
  astroid/repos/
  astroid/trunk/
  astroid/trunk/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Added: astroid/trunk/PKGBUILD
===================================================================
--- astroid/trunk/PKGBUILD	                        (rev 0)
+++ astroid/trunk/PKGBUILD	2022-05-06 14:46:18 UTC (rev 1196007)
@@ -0,0 +1,56 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Gaute Hope <eg at gaute.vetsj.com>
+# Contributor: Johannes Heinz <heinzeljo at web.de>
+pkgname=astroid
+pkgver=0.16
+pkgrel=1
+pkgdesc="A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch"
+arch=('x86_64')
+url="https://github.com/astroidmail/astroid"
+license=('GPL')
+depends=('boost-libs'
+         'gobject-introspection'
+         'gmime3'
+         'gtkmm3'
+         'libpeas'
+         'libsass'
+         'notmuch'
+         'protobuf'
+         'webkit2gtk')
+makedepends=('boost'
+             'cmake'
+             'cmark'
+             'python-gobject'
+             'ruby-ronn'
+             'w3m')
+checkdepends=('notmuch-runtime'
+              'xorg-server-xvfb')
+optdepends=('cmark: for markdown to html composition'
+            'emacs: can be used as editor'
+            'gvim: default editor'
+            'vte3: for drop-down terminal')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/astroidmail/astroid/archive/v${pkgver}.tar.gz")
+sha256sums=('32ecb8c2fafe67f70c7d5f2bc60bda1796d98a56a75f7868c7c1ca50cd7baf5e')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  cmake -B build \
+    -DCMAKE_BUILD_TYPE="None" \
+    -DCMAKE_INSTALL_PREFIX="/usr" \
+    -Wno-dev
+  cmake --build build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  cd build
+  xvfb-run ctest --output-on-failure
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" cmake --install build
+}



More information about the arch-commits mailing list