From 164067832916c8e59219e1b0f30d7d04618a536e Mon Sep 17 00:00:00 2001 From: root Date: Sun, 22 Jan 2012 23:15:13 +0000 Subject: Sun Jan 22 23:15:13 UTC 2012 --- ~fauno/notmuch/PKGBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to '~fauno/notmuch') 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 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') -- cgit v1.2.3-54-g00ecf