diff options
Diffstat (limited to 'community/notmuch/PKGBUILD')
-rw-r--r-- | community/notmuch/PKGBUILD | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/community/notmuch/PKGBUILD b/community/notmuch/PKGBUILD index 8a2284cbf..d6b463c57 100644 --- a/community/notmuch/PKGBUILD +++ b/community/notmuch/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 110999 2014-05-11 19:50:10Z dwallace $ +# $Id: PKGBUILD 113820 2014-06-30 20:26:05Z dwallace $ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: fauno <fauno at kiwwwi.com.ar> # Contributor: Olivier Ramonat <olivier at ramonat dot fr> @@ -6,15 +6,15 @@ pkgbase=notmuch pkgname=('notmuch' 'notmuch-vim' 'notmuch-mutt' 'notmuch-runtime') -pkgver=0.18 +pkgver=0.18.1 pkgrel=1 arch=('i686' 'x86_64') url="http://notmuchmail.org/" license=('GPL3') -makedepends=('python2' 'python' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime' 'talloc') +makedepends=('python2' 'python' 'python-sphinx' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime' 'talloc') options=(!distcc !makeflags) source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz") -md5sums=('f28f11af1acfb6d9adde2eec600bc27a') +md5sums=('12150aefea58ed0922b48c9494f17ddd') prepare(){ #cp -dpr --no-preserve=ownership "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname-runtime-$pkgver" @@ -55,16 +55,17 @@ package_notmuch-runtime(){ pkgdesc="Runtime for notmuch and notmuch-mutt" depends=('xapian-core' 'gmime' 'talloc') cd "$srcdir/${pkgbase}-$pkgver" - make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install + make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 WITH_EMACS=0 install install -Dm755 notmuch $pkgdir/usr/bin/notmuch + rm -rf $pkgdir/usr/share } package_notmuch-vim(){ pkgdesc="Vim plugins for notmuch" depends=('notmuch-runtime') - mkdir -p "$pkgdir"/usr/share/vim/vimfiles/{plugin,syntax} - make -C "$srcdir/$pkgbase-$pkgver/vim" prefix="$pkgdir/usr/share/vim/vimfiles" install + install=notmuch.install + make -C "$srcdir/$pkgbase-$pkgver/vim" DESTDIR="$pkgdir" prefix="/usr/share/vim/vimfiles" install } @@ -78,8 +79,15 @@ package_notmuch(){ 'gnupg: for email encryption') cd "$srcdir/${pkgname}-$pkgver" + + # Install emacs parts + make DESTDIR="$pkgdir/" install-emacs + + # Install manpages + make DESTDIR="$pkgdir" prefix="/usr" install-man + # Install ruby bindings - sed -i -e 's,/site_ruby,,g' bindings/ruby/Makefile + sed -i 's:INSTALL = .*[^D]$:& -D:' bindings/ruby/Makefile make -C bindings/ruby exec_prefix=$pkgdir/usr prefix=/usr install # Install notmuch-deliver @@ -91,6 +99,7 @@ package_notmuch(){ cd "$srcdir/${pkgname}-${pkgver}/bindings/python" python setup.py install --prefix=/usr --root="$pkgdir" + } package_notmuch-mutt(){ @@ -102,4 +111,4 @@ package_notmuch-mutt(){ install -Dm644 "contrib/$pkgname/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" } -#vim: set filetype=PKGBUILD sw=4 ts=4 et +#vim: filetype=PKGBUILD sw=4 ts=4 et |