2017-01-03 00:20:20 +02:00
|
|
|
# Maintainer: Gaute Hope <eg@gaute.vetsj.com>
|
2017-03-02 15:37:49 +02:00
|
|
|
_pkgname=astroid
|
|
|
|
pkgname=$_pkgname-git
|
2018-02-06 12:02:24 +02:00
|
|
|
pkgver=v0.11.r2.g0df6677
|
2017-01-03 00:20:20 +02:00
|
|
|
pkgrel=1
|
|
|
|
epoch=
|
|
|
|
pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others"
|
|
|
|
arch=('x86_64' 'i686')
|
|
|
|
url="https://github.com/astroidmail/astroid"
|
|
|
|
license=('GPL')
|
|
|
|
groups=()
|
|
|
|
depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'libsass' 'libpeas' 'gobject-introspection')
|
2017-11-25 01:55:19 +02:00
|
|
|
makedepends=('cmake' 'ninja' 'git' 'pkg-config' 'python-gobject' 'marked')
|
2017-01-03 00:20:20 +02:00
|
|
|
checkdepends=('notmuch-runtime')
|
|
|
|
optdepends=('gvim: default editor'
|
2017-02-28 14:57:16 +02:00
|
|
|
'emacs: can be used as editor'
|
|
|
|
'vte3: for drop-down terminal')
|
2017-01-03 00:20:20 +02:00
|
|
|
provides=('astroid')
|
|
|
|
conflicts=()
|
|
|
|
replaces=()
|
|
|
|
backup=()
|
|
|
|
options=()
|
2017-03-02 15:37:49 +02:00
|
|
|
install=$_pkgname.install
|
2017-01-03 00:20:20 +02:00
|
|
|
changelog=
|
2017-10-07 10:33:59 +03:00
|
|
|
source=(astroid::git+https://github.com/astroidmail/astroid.git)
|
2017-01-03 00:20:20 +02:00
|
|
|
noextract=()
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/astroid"
|
2017-11-15 14:43:17 +02:00
|
|
|
mkdir -p build
|
2017-10-07 10:09:34 +03:00
|
|
|
cd build
|
2018-02-06 11:58:54 +02:00
|
|
|
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
2017-10-07 10:09:34 +03:00
|
|
|
ninja
|
2017-01-03 00:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$srcdir/astroid"
|
2017-10-07 10:09:34 +03:00
|
|
|
cd build
|
2017-11-15 14:43:17 +02:00
|
|
|
ninja test
|
2017-01-03 00:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/astroid"
|
2017-10-07 10:09:34 +03:00
|
|
|
cd build
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
2017-01-03 00:20:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "astroid"
|
|
|
|
git describe --long --tags --always | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|