summaryrefslogtreecommitdiff
path: root/community/notmuch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/notmuch
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/notmuch')
-rw-r--r--community/notmuch/PKGBUILD105
1 files changed, 0 insertions, 105 deletions
diff --git a/community/notmuch/PKGBUILD b/community/notmuch/PKGBUILD
deleted file mode 100644
index 9d83aa738..000000000
--- a/community/notmuch/PKGBUILD
+++ /dev/null
@@ -1,105 +0,0 @@
-# $Id: PKGBUILD 95030 2013-08-03 23:12:06Z dwallace $
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: fauno <fauno at kiwwwi.com.ar>
-# Contributor: Olivier Ramonat <olivier at ramonat dot fr>
-# Contributor: Richard Murri <admin@richardmurri.com>
-
-pkgbase=notmuch
-pkgname=('notmuch' 'notmuch-vim' 'notmuch-mutt' 'notmuch-runtime')
-pkgver=0.16
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://notmuchmail.org/"
-license=('GPL3')
-makedepends=('python2' 'python' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime' 'talloc')
-options=(!distcc !makeflags)
-source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz")
-md5sums=('9de9f8a91eb2323d8503872a059c7f11')
-
-prepare(){
- #cp -dpr --no-preserve=ownership "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname-runtime-$pkgver"
- cp -dpr --no-preserve=ownership "$srcdir/${pkgname}-$pkgver"/bindings/python{,2}
-
- find "$srcdir/${pkgname}-${pkgver}/bindings/python" -name '*.py' -exec sed -i -e '1s,python$,python3,' {} +
- find "$srcdir/${pkgname}-${pkgver}/bindings/python2" -name '*.py' -exec sed -i -e '1s,python$,python2,' {} +
-}
-build() {
- cd "$srcdir/${pkgname}-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc \
- --includedir=/usr/include \
- --without-zsh-completion
-
- make
- ( pushd "contrib/$pkgbase-deliver"
- export CPPFLAGS="-I ../../lib"
- ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc \
- --includedir=/usr/include \
- LDFLAGS="-L$srcdir/$pkgname-$pkgver/lib" \
- CPPFLAGS="-I$srcdir/$pkgname-$pkgver/lib"
- make)
- make -C "contrib/${pkgbase}-mutt" "${pkgname}-mutt.1"
-
- cd bindings/ruby
- ruby extconf.rb --vendor
-
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python"
- python setup.py build
-
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python2"
- python2 setup.py build
-}
-
-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
- install -Dm755 notmuch $pkgdir/usr/bin/notmuch
-}
-
-
-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
-}
-
-
-package_notmuch(){
- pkgdesc="Notmuch is not much of an email program"
- depends=('notmuch-runtime')
- optdepends=('emacs: for using the emacs interface'
- 'vim: for using the vim interface'
- 'python2: for using the python2 bindings'
- 'ruby: for using the ruby bindings'
- 'gnupg: for email encryption')
-
- cd "$srcdir/${pkgname}-$pkgver"
- # Install ruby bindings
- sed -i -e 's,/site_ruby,,g' bindings/ruby/Makefile
- make -C bindings/ruby exec_prefix=$pkgdir/usr prefix=/usr install
-
- # Install notmuch-deliver
- make -C "contrib/${pkgbase}-deliver" DESTDIR="$pkgdir" install
-
- # Install python bindings
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python2"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
-
- cd "$srcdir/${pkgname}-${pkgver}/bindings/python"
- python setup.py install --prefix=/usr --root="$pkgdir"
-}
-
-package_notmuch-mutt(){
- pkgdesc="The mail indexer"
- depends=('notmuch-runtime' 'perl-mailtools' 'perl-mail-box' 'perl-term-readline-gnu' 'perl-string-shellquote' 'perl-file-which')
- cd "$srcdir/$pkgbase-$pkgver"
-
- install -Dm755 "contrib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
- install -Dm644 "contrib/$pkgname/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-#vim: set filetype=PKGBUILD sw=4 ts=4 et