summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-12 12:16:08 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-12 12:16:08 -0300
commit65083325100db2bbbb7563450653994431998642 (patch)
tree4817afae0686ba5cc1b6dfac36c8e9b13c0d802a
parentb19a2a83f67736ae7ad359aece93b9171ecc7611 (diff)
downloadabslibre-65083325100db2bbbb7563450653994431998642.tar.gz
abslibre-65083325100db2bbbb7563450653994431998642.tar.bz2
abslibre-65083325100db2bbbb7563450653994431998642.zip
~fauno/notmuch-0.11rc3-1
-rw-r--r--~fauno/notmuch/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/~fauno/notmuch/PKGBUILD b/~fauno/notmuch/PKGBUILD
index e965ea15f..9b02b0919 100644
--- a/~fauno/notmuch/PKGBUILD
+++ b/~fauno/notmuch/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Richard Murri <admin@richardmurri.com>
pkgname=notmuch
-pkgver=0.11
+pkgver=0.11_rc3
pkgrel=1
pkgdesc="Notmuch is not much of an email program"
arch=(i686 x86_64 mips64el)
@@ -16,10 +16,13 @@ optdepends=('emacs: for using the emacs interface'
'python2: for using the python bindings'
'ruby: for using the ruby bindings'
'gnupg: for email encryption')
-source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz")
+_commit='310608f279150c735b9fde89f2d632f3b41abd6c'
+source=(#"http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz"
+ "http://git.notmuchmail.org/git/notmuch/snapshot/${_commit}.tar.gz")
build() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
./configure --prefix=/usr --sysconfdir=/etc
make
@@ -30,12 +33,14 @@ build() {
}
check() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
make test
}
package(){
- cd "$srcdir/${pkgname}-${pkgver}"
+ #cd "$srcdir/${pkgname}-${pkgver}"
+ cd $srcdir/${pkgname}-*
make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install
install -D notmuch $pkgdir/usr/sbin/notmuch
@@ -46,7 +51,7 @@ package(){
# Install python bindings
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python"
+ cd $srcdir/${pkgname}-*/bindings/python
find "." -name '*.py' -print0 |xargs -0 \
sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
@@ -56,7 +61,8 @@ package(){
env LD_LIBRARY_PATH="." python2 setup.py install --prefix=/usr --root=$pkgdir
# Install ruby bindings
- cd "$srcdir/${pkgname}-${pkgver}/bindings/ruby"
+ cd $srcdir/${pkgname}-*/bindings/ruby
sed -i -e 's,/site_ruby,,g' Makefile
make prefix=${pkgdir}/usr install
}
+md5sums=('0383f55b5e800e626fd805919138c1b3')