summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGaute Hope2015-09-20 12:26:33 +0200
committerGaute Hope2015-09-20 12:31:35 +0200
commit4a906d04d942b1cf094a769ec3b2dd0d374dd71d (patch)
tree7fd1ff22a3c790c6d77bf158bfe9fd43ac171431 /PKGBUILD
downloadaur-4a906d04d942b1cf094a769ec3b2dd0d374dd71d.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e97ad948a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Gaute Hope <eg@gaute.vetsj.com>
+pkgname=astroid
+pkgver=v0.4.r7.gcb4ebcc
+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/gauteh/astroid"
+license=('GPL')
+groups=()
+depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'gvim')
+makedepends=('scons' 'git' 'pkg-config')
+checkdepends=('notmuch-runtime')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=(astroid::git+https://github.com/gauteh/astroid.git)
+noextract=()
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+ scons --release="$pkgver" --prefix=/usr build
+}
+
+check() {
+ cd "$srcdir/$pkgname"
+ scons --release="$pkgver" --prefix=/usr test
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ scons --release="$pkgver" --install-sandbox="$pkgdir/" --prefix=/usr install
+}
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags --always | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+