summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-21 11:18:52 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-21 11:18:52 -0300
commitd428163e93accbf1f9759f20d24584c566267a2a (patch)
tree60f5570520c89ce22d8e6e162f233edabfcd9f4f
parent531380570437cffdc1f2c9e8e7683f6f5d41ee37 (diff)
downloadabslibre-d428163e93accbf1f9759f20d24584c566267a2a.tar.gz
abslibre-d428163e93accbf1f9759f20d24584c566267a2a.tar.bz2
abslibre-d428163e93accbf1f9759f20d24584c566267a2a.zip
neomutt: add new package to [pcr]
-rw-r--r--pcr/neomutt/PKGBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/pcr/neomutt/PKGBUILD b/pcr/neomutt/PKGBUILD
new file mode 100644
index 000000000..bd10566db
--- /dev/null
+++ b/pcr/neomutt/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer (Arch): Chris Salzberg <chris@dejimata.com>
+
+pkgname=neomutt
+pkgver=20170206
+pkgrel=1
+pkgdesc='The New Mutt: powerful text-based mail client with all the best feature patches'
+url='http://www.neomutt.org/'
+license=('GPL')
+source=("https://github.com/neomutt/neomutt/archive/neomutt-$pkgver.tar.gz")
+md5sums=('e3d67be3d63a1fd55c249649dfbed1cb')
+arch=('i686' 'x86_64')
+depends=('openssl' 'gdbm' 'mime-types' 'libsasl' 'gnupg' 'gpgme' 'libidn' 'krb5' 'notmuch-runtime')
+optdepends=('urlview: for url menu')
+makedepends=('git' 'gnupg' 'libxslt')
+conflicts=('mutt')
+provides=('mutt')
+
+build() {
+ cd $srcdir
+ mv "$pkgname-neomutt-$pkgver" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+
+ # Configure the build.
+ ./prepare \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-debug \
+ --enable-pgp \
+ --enable-gpgme \
+ --enable-notmuch \
+ --enable-pop \
+ --enable-imap \
+ --enable-smtp \
+ --enable-sidebar \
+ --enable-compressed \
+ --with-gss=/usr \
+ --with-ssl=/usr \
+ --with-sasl \
+ --with-curses=/usr \
+ --with-regex \
+ --with-idn \
+ --with-gdbm
+
+ # Build it!
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Install the program.
+ make DESTDIR="$pkgdir" install
+
+ # Cruft we don't want.
+ rm "${pkgdir}"/etc/mime.types{,.dist}
+}
+
+# vim: ft=sh ts=2 sw=2 et