summaryrefslogtreecommitdiff
path: root/~fauno/notmuch/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-29 21:01:44 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-29 21:01:44 -0300
commit6d4537b67f90b1decadcf8434e1a5bdcb6694f7f (patch)
tree0dfcf0ebb742c6e359f0502d9207b3a600aa3462 /~fauno/notmuch/PKGBUILD
parent7a501772e3cb37f438506df7c22a34ed9bba9d88 (diff)
parentdb0dace84403023c8d89b8801f12a5ab278dc440 (diff)
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Conflicts: core/glibc/PKGBUILD
Diffstat (limited to '~fauno/notmuch/PKGBUILD')
-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')