summaryrefslogtreecommitdiff
path: root/notmuch/Pkgfile
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2025-11-16 00:19:37 -0500
committervin <git@vineetk.net>2025-11-16 00:23:46 -0500
commitfd8654fd2c47ba33ac7123e3cea0d733a5076888 (patch)
tree63410e48f94f6ac2643e1d967d84e7f66f1c59b6 /notmuch/Pkgfile
parent399a88f2c02d6d8ff5e37febb2f676a2e845ca9f (diff)
add minimal gmime3 and gpg-less notmuch
Diffstat (limited to 'notmuch/Pkgfile')
-rw-r--r--notmuch/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/notmuch/Pkgfile b/notmuch/Pkgfile
new file mode 100644
index 0000000..5076152
--- /dev/null
+++ b/notmuch/Pkgfile
@@ -0,0 +1,29 @@
1# Description: a fast, global-search and tag-based email system
2# URL: https://notmuchmail.org/
3# Maintainer: Shokara Kou, kou at 13f0 dot net
4# Packager: Tim Biermann, tbier at posteo dot de
5# Depends on: gmime3 talloc xapian-core
6# Optional: emacs
7
8name=notmuch
9version=0.39
10release=1
11source=(https://notmuchmail.org/releases/$name-$version.tar.xz
12 gpgless_configure.diff)
13
14build() {
15 cd $name-$version
16
17 patch -Np1 <$SRC/gpgless_configure.diff
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --includedir=/usr/include \
22 --with-emacs \
23 --without-bash-completion \
24 --without-zsh-completion
25
26 prt-get isinst emacs >/dev/null 2>&1 && IS_EMACS=1 || IS_EMACS=0
27 make DESTDIR=$PKG LIBDIR_IN_LDCONFIG=0 WITH_EMACS=$IS_EMACS install
28 install -Dm755 notmuch-shared $PKG/usr/bin/notmuch
29}