crux-ports

My CRUX Linux ports
Log | Files | Refs | README

Pkgfile (797B)


      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 
      8 name=notmuch
      9 version=0.39
     10 release=1
     11 source=(https://notmuchmail.org/releases/$name-$version.tar.xz
     12 	gpgless_configure.diff)
     13 
     14 build() {
     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 }