diff options
author | Alad Wenter | 2018-02-03 09:22:23 +0100 |
---|---|---|
committer | Alad Wenter | 2018-02-03 09:22:23 +0100 |
commit | fbf4dce99b46b42437a14fcb5b3b1d34622c3bcb (patch) | |
tree | 4e78176b2b033b3659515359508d5b48dbe0d778 /PKGBUILD | |
parent | def4c2c21cb2e58b6160c5acdf63e0495d5f4bd5 (diff) | |
download | aur-fbf4dce99b46b42437a14fcb5b3b1d34622c3bcb.tar.gz |
Autosetup updates
* Remove some unused flags.
* Make python an optional dependency (only required for keybase.py)
* Include docbook-xsl and lynx as makedepends for doc generation.
* Remove urlview from optdepends - old, better alternatives available to
retrieve URIs.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 62 |
1 files changed, 28 insertions, 34 deletions
@@ -1,55 +1,49 @@ -# Maintainer: Sean Haugh <seanphaugh@gmail.com> +# Maintainer: Alad Wenter <alad@mailbox.org> +# Contributor: Sean Haugh <seanphaugh@gmail.com> # Contributor: Chris Salzberg <chris@dejimata.com> _pkgname=neomutt pkgname=neomutt-git pkgver=20171215.r144.gb7da81ad -pkgrel=1 -pkgdesc='The New Mutt: powerful text-based mail client with all the best feature patches' +pkgrel=2 +pkgdesc='A version of mutt with added features - development branch' url='http://www.neomutt.org/' license=('GPL') source=('git+https://github.com/neomutt/neomutt.git#branch=master') sha256sums=('SKIP') arch=('i686' 'x86_64') -depends=('notmuch-runtime' 'lua' 'python') -optdepends=('urlview: for url menu') -makedepends=('git' 'gnupg' 'libxslt') +depends=('notmuch-runtime' 'lua') +optdepends=('python: keybase.py') +makedepends=('git' 'gnupg' 'libxslt' 'docbook-xsl' 'lynx') conflicts=('neomutt') provides=('neomutt') pkgver() { - cd "${srcdir}/${_pkgname}" - - # Get the version number. - git describe --long --tags | sed 's/^neomutt-//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd "$_pkgname" + git describe --long --tags | sed 's/^neomutt-//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${srcdir}/${_pkgname}" - - # Configure the build. - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib \ - --enable-debug \ - --enable-pgp \ - --enable-gpgme \ - --enable-notmuch \ - --enable-lua \ - --with-gss=/usr \ - --with-ssl=/usr \ - --with-sasl=/usr \ - --with-idn=/usr \ - --with-gdbm=/usr + cd "$_pkgname" - # Build it! - make + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --gpgme \ + --enable-lua \ + --notmuch \ + --gss \ + --ssl \ + --sasl \ + --with-ui=ncurses \ + --with-idn=/usr \ + --gdbm + make } package() { - cd "${srcdir}/${_pkgname}" - - # Install the program. - make DESTDIR="${pkgdir}" install + cd "$_pkgname" + make DESTDIR="$pkgdir" install } -# vim: ft=sh ts=2 sw=2 et + +# vim: ft=sh ts=4 sw=4 et |