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 <[email protected]> +# Contributor: Gaute Hope <[email protected]> +# Contributor: Johannes Heinz <[email protected]> +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 +}
