commit 9c87626309a5d9608d2c8d8a04ba759cfd9119d3 Author: Gaute Hope Date: Mon Jan 2 23:20:20 2017 +0100 astroid: migrate -git package diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..fa04fa0 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e089910 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +astroid +*.pkg.tar.xz +src +*.tar.gz +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..dae4a8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Gaute Hope +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' +} +