blob: 808e0da7440f9ee5a6a68c50effc80a356b7ad4c (
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
|
# Maintainer : Kr1ss $(tr +- .@ <<<'<kr1ss+x-yandex+com>')
pkgname=getmail6-git
_pkgname="${pkgname%-git}"
epoch=1
pkgver() {
cd "$_pkgname"
printf '%s.r%s.%s' \
"$(git tag -l | sed -r 's/v?([0-9\.]+)(-.+)?/\1/g' | sort -Vr | sed 1q)" \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=6.17.r504.78375eb
pkgrel=1
pkgdesc='POP3 mail retriever with reliable Maildir and command delivery; Python 3 port'
arch=('any')
url="https://$_pkgname.org"
license=('GPL2')
provides=("getmail=$pkgver" "${pkgname%-git}")
conflicts=('getmail')
makedepends=('git' 'python-setuptools')
depends=('python-chardet')
optdepends=('python-keyring: secure password store'
'python-keyrings-alt: alternative backends')
changelog=CHANGELOG
source=("git+https://github.com/$_pkgname/$_pkgname.git")
b2sums=('SKIP')
build() {
cd "$_pkgname"
python setup.py build
}
package() {
cd "$_pkgname"
python setup.py install --skip-build --optimize=1 --root="$pkgdir"
}
# vim: ts=2 sw=2 et ft=PKGBUILD:
|