2
0
Fork 0
astroid-git/PKGBUILD

49 lines
1.2 KiB
Bash
Raw Normal View History

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
pkgver=v0.7.r56.ge4c070d
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')
makedepends=('scons' 'git' 'pkg-config' 'python-gobject')
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=
source=(astroid::git+https://github.com/astroidmail/astroid.git)
noextract=()
md5sums=('SKIP')
build() {
cd "$srcdir/astroid"
scons --release="$pkgver" --prefix=/usr build
}
check() {
cd "$srcdir/astroid"
scons --release="$pkgver" --prefix=/usr test
}
package() {
cd "$srcdir/astroid"
scons --release="$pkgver" --install-sandbox="$pkgdir/" --prefix=/usr install
}
pkgver() {
cd "astroid"
git describe --long --tags --always | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}