[arch-commits] Commit in notmuch/repos/community-x86_64 (4 files)
Lukas Fleischer
lfleischer at archlinux.org
Fri Dec 6 18:41:20 UTC 2019
Date: Friday, December 6, 2019 @ 18:41:20
Author: lfleischer
Revision: 535970
archrelease: copy trunk to community-x86_64
Added:
notmuch/repos/community-x86_64/PKGBUILD
(from rev 535969, notmuch/trunk/PKGBUILD)
notmuch/repos/community-x86_64/notmuch.install
(from rev 535969, notmuch/trunk/notmuch.install)
Deleted:
notmuch/repos/community-x86_64/PKGBUILD
notmuch/repos/community-x86_64/notmuch.install
-----------------+
PKGBUILD | 212 +++++++++++++++++++++++++++---------------------------
notmuch.install | 16 ++--
2 files changed, 114 insertions(+), 114 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-06 18:41:09 UTC (rev 535969)
+++ PKGBUILD 2019-12-06 18:41:20 UTC (rev 535970)
@@ -1,106 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: 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 at richardmurri.com>
-
-pkgbase=notmuch
-pkgname=('notmuch' 'notmuch-vim' 'notmuch-mutt' 'notmuch-runtime')
-pkgver=0.29.2
-pkgrel=3
-arch=('x86_64')
-url="https://notmuchmail.org/"
-license=('GPL3')
-makedepends=('python2' 'python' 'python-sphinx' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime3' 'talloc')
-options=(!distcc !makeflags)
-source=("https://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.xz")
-md5sums=('e6398f41315e698e780ab356b32266a3')
-
-prepare(){
- 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/$pkgbase-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --includedir=/usr/include --zshcompletiondir=/usr/share/zsh/site-functions
- make
-
- make -C "contrib/${pkgbase}-mutt"
-
- make ruby-bindings
-
- cd "$srcdir/$pkgbase-$pkgver/bindings/python"
- python setup.py build
-
- cd "$srcdir/$pkgbase-$pkgver/bindings/python2"
- python2 setup.py build
-}
-
-package_notmuch-runtime(){
- pkgdesc="Runtime for notmuch and notmuch-mutt"
- depends=('xapian-core' 'gmime3' 'talloc')
-
- cd "$srcdir/$pkgbase-$pkgver"
-
- make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 WITH_EMACS=0 install
- make DESTDIR="$pkgdir/" WITH_BASH=1 install-completion
-
- # Install manpages
- make DESTDIR="$pkgdir" install-man
-
- # this is provided both with and without a statically included libnotmuch.so ???
- install -Dm755 notmuch-shared "$pkgdir/usr/bin/notmuch"
-}
-
-
-package_notmuch-vim(){
- pkgdesc="Vim plugins for notmuch"
- depends=('notmuch-runtime')
-
- make -C "$srcdir/$pkgbase-$pkgver/vim" DESTDIR="$pkgdir" prefix="/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')
- install=notmuch.install
-
- cd "$srcdir/$pkgbase-$pkgver"
-
- # Install emacs parts
- make DESTDIR="$pkgdir" install-emacs
-
-
- # Install ruby bindings
- sed -i 's:INSTALL = .*[^D]$:& -D:' bindings/ruby/Makefile
- make -C bindings/ruby exec_prefix="$pkgdir"/usr install
-
- # Install python bindings
- cd "$srcdir/$pkgbase-$pkgver/bindings/python"
- python setup.py install --root="$pkgdir" --optimize=1
-
- cd "$srcdir/$pkgbase-$pkgver/bindings/python2"
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- # Remove mimeinfo.cache (fixes FS#53629).
- rm "$pkgdir/usr/share/applications/mimeinfo.cache"
-}
-
-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"
-}
Copied: notmuch/repos/community-x86_64/PKGBUILD (from rev 535969, notmuch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-06 18:41:20 UTC (rev 535970)
@@ -0,0 +1,106 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: 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 at richardmurri.com>
+
+pkgbase=notmuch
+pkgname=('notmuch' 'notmuch-vim' 'notmuch-mutt' 'notmuch-runtime')
+pkgver=0.29.3
+pkgrel=1
+arch=('x86_64')
+url="https://notmuchmail.org/"
+license=('GPL3')
+makedepends=('python2' 'python' 'python-sphinx' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime3' 'talloc')
+options=(!distcc !makeflags)
+source=("https://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.xz")
+md5sums=('d2697458d1ae087ee385a9912db29c95')
+
+prepare(){
+ 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/$pkgbase-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --includedir=/usr/include --zshcompletiondir=/usr/share/zsh/site-functions
+ make
+
+ make -C "contrib/${pkgbase}-mutt"
+
+ make ruby-bindings
+
+ cd "$srcdir/$pkgbase-$pkgver/bindings/python"
+ python setup.py build
+
+ cd "$srcdir/$pkgbase-$pkgver/bindings/python2"
+ python2 setup.py build
+}
+
+package_notmuch-runtime(){
+ pkgdesc="Runtime for notmuch and notmuch-mutt"
+ depends=('xapian-core' 'gmime3' 'talloc')
+
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 WITH_EMACS=0 install
+ make DESTDIR="$pkgdir/" WITH_BASH=1 install-completion
+
+ # Install manpages
+ make DESTDIR="$pkgdir" install-man
+
+ # this is provided both with and without a statically included libnotmuch.so ???
+ install -Dm755 notmuch-shared "$pkgdir/usr/bin/notmuch"
+}
+
+
+package_notmuch-vim(){
+ pkgdesc="Vim plugins for notmuch"
+ depends=('notmuch-runtime')
+
+ make -C "$srcdir/$pkgbase-$pkgver/vim" DESTDIR="$pkgdir" prefix="/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')
+ install=notmuch.install
+
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ # Install emacs parts
+ make DESTDIR="$pkgdir" install-emacs
+
+
+ # Install ruby bindings
+ sed -i 's:INSTALL = .*[^D]$:& -D:' bindings/ruby/Makefile
+ make -C bindings/ruby exec_prefix="$pkgdir"/usr install
+
+ # Install python bindings
+ cd "$srcdir/$pkgbase-$pkgver/bindings/python"
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ cd "$srcdir/$pkgbase-$pkgver/bindings/python2"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ # Remove mimeinfo.cache (fixes FS#53629).
+ rm "$pkgdir/usr/share/applications/mimeinfo.cache"
+}
+
+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"
+}
Deleted: notmuch.install
===================================================================
--- notmuch.install 2019-12-06 18:41:09 UTC (rev 535969)
+++ notmuch.install 2019-12-06 18:41:20 UTC (rev 535970)
@@ -1,8 +0,0 @@
-post_upgrade() {
- if (( $(vercmp $2 0.20) < 0 )); then
- cat <<"EOF"
-==> notmuch-deliver was removed in notmuch 0.20.
-==> Please use `notmuch insert` instead.
-EOF
- fi
-}
Copied: notmuch/repos/community-x86_64/notmuch.install (from rev 535969, notmuch/trunk/notmuch.install)
===================================================================
--- notmuch.install (rev 0)
+++ notmuch.install 2019-12-06 18:41:20 UTC (rev 535970)
@@ -0,0 +1,8 @@
+post_upgrade() {
+ if (( $(vercmp $2 0.20) < 0 )); then
+ cat <<"EOF"
+==> notmuch-deliver was removed in notmuch 0.20.
+==> Please use `notmuch insert` instead.
+EOF
+ fi
+}
More information about the arch-commits
mailing list