diff options
author | Chris Salzberg | 2016-05-02 22:39:48 +0900 |
---|---|---|
committer | Chris Salzberg | 2016-05-02 22:39:48 +0900 |
commit | c1d9ebd2500ae9545ffb59e828eef9e531c7cc9f (patch) | |
tree | 9a996b6aafcac60e17e57375e4f9a309ebdb4a6b /PKGBUILD | |
download | aur-c1d9ebd2500ae9545ffb59e828eef9e531c7cc9f.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d6fffc5c2439 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Bjorn Neergaard (neersighted) <bjorn@neersighted.com> +# Contributor: boyska <piuttosto@logorroici.org> + +_pkgname=neomutt +pkgname=neomutt +pkgver=neomutt.20160502.r0.gfcf870a +pkgrel=1 +pkgdesc='Small but powerful text-based mail client' +url='http://www.neomutt.org/' +license=('GPL') +source=('git+https://github.com/neomutt/neomutt.git#branch=neomutt') +sha256sums=('SKIP') +arch=('i686' 'x86_64') +depends=('openssl' 'gdbm' 'mime-types' 'libsasl' 'gnupg' 'gpgme' 'libidn' 'krb5' 'notmuch-runtime') +makedepends=('git' 'gnupg' 'libxslt') +conflicts=('mutt') +provides=('mutt') + +pkgver() { + cd "${srcdir}/${_pkgname}" + + # Get the version number. + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${_pkgname}" + + # Configure the build. + ./prepare \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-debug \ + --enable-pgp \ + --enable-gpgme \ + --enable-notmuch \ + --enable-pop \ + --enable-imap \ + --enable-smtp \ + --enable-hcache \ + --enable-sidebar \ + --with-gss=/usr \ + --with-ssl=/usr \ + --with-sasl \ + --with-curses=/usr \ + --with-regex \ + --with-idn + + # Build it! + make +} + +package() { + cd "${srcdir}/${_pkgname}" + + # Install the program. + make DESTDIR="${pkgdir}" install + + # Cruft we don't want. + rm "${pkgdir}"/usr/bin/{flea,muttbug} + rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1 + rm "${pkgdir}"/etc/mime.types{,.dist} +} + +# vim: ft=sh ts=2 sw=2 et |