astroid: migrate -git package

This commit is contained in:
Gaute Hope 2017-01-02 23:20:20 +01:00
commit 9c87626309
3 changed files with 83 additions and 0 deletions

32
.SRCINFO Normal file
View File

@ -0,0 +1,32 @@
# Generated by mksrcinfo v8
# Mon Jan 2 22:19:19 UTC 2017
pkgbase = astroid-git
pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others
pkgver = v0.7.r0.g10a1f7a
pkgrel = 1
url = https://github.com/astroidmail/astroid
arch = x86_64
arch = i686
license = GPL
checkdepends = notmuch-runtime
makedepends = scons
makedepends = git
makedepends = pkg-config
makedepends = python-gobject
depends = notmuch
depends = boost
depends = boost-libs
depends = gmime
depends = gtkmm3
depends = webkitgtk
depends = libsass
depends = libpeas
depends = gobject-introspection
optdepends = gvim: default editor
optdepends = emacs: can be used as editor
provides = astroid
source = astroid::git+https://github.com/astroidmail/astroid.git
md5sums = SKIP
pkgname = astroid-git

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
astroid
*.pkg.tar.xz
src
*.tar.gz
pkg

46
PKGBUILD Normal file
View File

@ -0,0 +1,46 @@
# Maintainer: Gaute Hope <eg@gaute.vetsj.com>
pkgname=astroid-git
pkgver=v0.7.r0.g10a1f7a
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'
'emacs: can be used as editor')
provides=('astroid')
conflicts=()
replaces=()
backup=()
options=()
install=
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'
}