summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9430e49c396f4e5ce97c084167cc71b64afd4a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Maintainer      :  Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
# Upstream author :  Roland Puntaier <roland [dot] puntaier [at] gmail [dot] com>


pkgname=mailwizard

pkgver=2.0.7
pkgrel=1

pkgdesc='Configure neomutt, isync, getmail and msmtp with pass for passwords (POP3/SMTP)'
arch=('x86_64')
url="https://github.com/rpuntaie/$pkgname"
license=('GPL3')

conflicts=('mutt-wizard')

depends=('neomutt' 'isync' 'getmail6' 'msmtp' 'notmuch-runtime' 'pass' 'urlscan')
optdepends=('imagemagick: view images inside of the neomutt TUI'
            'w3m: view HTML email and images inside of the neomutt TUI'
            'lynx: view HTML email inside of the neomutt TUI'
            'links: view HTML email inside of the neomutt TUI'
            'elinks: view HTML email inside of the neomutt TUI'
            'abook: contact store and tab completion'
            'cronie: auto-sync mails - alt.: fcron'
            'fcron: auto-sync mails - alt.: cronie'
            'libnotify: enable desktop notifications about new mail'
            'dunst: enable desktop notifications about new mail'
            'pam-gnupg: automatically unlock gpg keys at session login')
#checkdepends=('bash-bats')

options=('zipman')

changelog=changelog.txt
install=wizard.install
source=("$pkgname.tar.gz::$url/archive/v$pkgver.tar.gz"
        'migrationhelper')
sha256sums=('3c9852822a4800a795cb010644a5fcd8854d92ab458709c82d5f4ffbb0c19718'
            '96471dc5a53af342cf14f5ec119df81509617f960c707d732781a24d9e2ed3c6')


#check() {
#  cd "$pkgname-$pkgver"
#  ./dotests
#}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" -s install
  install -m755 ../migrationhelper -t"$pkgdir/usr/share/$pkgname/"
  install -Dm644 README.rst -t"$pkgdir/usr/share/doc/$pkgname/"
}


# vim: ts=2 sw=2 et ft=PKGBUILD: