Skip to content

Instantly share code, notes, and snippets.

@make-github-pseudonymous-again
Last active January 30, 2016 11:55
Show Gist options
  • Select an option

  • Save make-github-pseudonymous-again/1f7bf1f7481a21f75b33 to your computer and use it in GitHub Desktop.

Select an option

Save make-github-pseudonymous-again/1f7bf1f7481a21f75b33 to your computer and use it in GitHub Desktop.
astroid with maildir flags synchronization
pkgname=astroid
pkgver=v0.4.r236.g68dd9ba
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/ff2000/astroid"
license=('GPL')
groups=()
depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'gvim' 'libsass')
makedepends=('scons' 'git' 'pkg-config')
checkdepends=('notmuch-runtime')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(astroid::git+https://github.com/ff2000/astroid.git)
noextract=()
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
git checkout 68dd9ba4f395c66ed55052aced003059dc63db22
scons --release="$pkgver" --prefix=/usr build
}
check() {
cd "$srcdir/$pkgname"
git checkout 68dd9ba4f395c66ed55052aced003059dc63db22
scons --release="$pkgver" --prefix=/usr test
}
package() {
cd "$srcdir/$pkgname"
git checkout 68dd9ba4f395c66ed55052aced003059dc63db22
scons --release="$pkgver" --install-sandbox="$pkgdir/" --prefix=/usr install
}
pkgver() {
cd "$pkgname"
git checkout 68dd9ba4f395c66ed55052aced003059dc63db22
git describe --long --tags --always | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment