summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b9307c77be3789bcc7780d356dcc24cb987fb677 (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
# $Id$
# Maintainer: Ido Rosen <ido@kernel.org>
# Co-Maintainer: Matthias Bodenbinder <matthias@bodenbinder.de>
#
# NOTE: To request changes to this package, please submit a pull request
#       to the GitHub repository at https://github.com/ido/packages-archlinux
#       Otherwise, open a GitHub issue.  Thank you! -Ido
#
# getmail6 is a mail retriever with support for POP3, POP3-over-SSL, IMAP4,
# IMAP4-over-SSL, and SDPS mail accounts. It is a fork of getmail 5.14 with
# adaptations to work with Python 3 and newer.

pkgname='getmail6'
pkgdesc="mail retriever with support for POP3, IMAP4, SDPS; fork of getmail 5.14 modified to support python3"
pkgver=6.19.05
pkgrel=1
arch=('any')
url='http://getmail6.org/'
license=('GPL2')
depends=('python')
makedepends=('python-setuptools')
optdepends=('python-keyring: secure password store'
            'python-keyrings-alt: alternative backends')
source=("${pkgname}-${pkgver}.tgz::https://github.com/getmail6/getmail6/archive/v${pkgver}.tar.gz")
sha512sums=('60b3d2db4224e58950e5105e76fa11275dc1fa6bddc61bc53072e368e057f574ba858d0c856101ed55179cf886cba5030bdd37a120364113a851ed5fe4f7699e')

#prepare() {
#  cd "${srcdir}/${pkgname}-${pkgver}"
#
#}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py build
}

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

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install -O1 --root="${pkgdir}"
}