summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Salzberg2016-05-02 22:39:48 +0900
committerChris Salzberg2016-05-02 22:39:48 +0900
commitc1d9ebd2500ae9545ffb59e828eef9e531c7cc9f (patch)
tree9a996b6aafcac60e17e57375e4f9a309ebdb4a6b
downloadaur-c1d9ebd2500ae9545ffb59e828eef9e531c7cc9f.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD65
2 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e63b7f7166b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = neomutt
+ pkgdesc = Small but powerful text-based mail client
+ pkgver = neomutt.20160502.r0.gfcf870a
+ pkgrel = 1
+ url = http://www.neomutt.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = gnupg
+ makedepends = libxslt
+ depends = openssl
+ depends = gdbm
+ depends = mime-types
+ depends = libsasl
+ depends = gnupg
+ depends = gpgme
+ depends = libidn
+ depends = krb5
+ depends = notmuch-runtime
+ provides = mutt
+ conflicts = mutt
+ source = git+https://github.com/neomutt/neomutt.git#branch=neomutt
+ sha256sums = SKIP
+
+pkgname = neomutt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d6fffc5c243
--- /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