blob: f60c78df3cba55ae0f685da27712f61f2847ecdc (
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
|
# Maintainer : Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
pkgname=getmail-python3-git
_pkgname=getmail6
pkgver() {
cd "$_pkgname"
printf '%s.r%s.%s' \
"$(grep ^Version PKG-INFO | sed 's/.\+: \?//')" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
pkgver=6.00.r30.7c82473
pkgrel=1
pkgdesc='POP3 mail retriever with reliable Maildir and command delivery; Python 3 port'
arch=('any')
url="https://github.com/$_pkgname/$_pkgname"
license=('GPL2')
provides=("getmail=$pkgver")
conflicts=('getmail')
makedepends=('git')
depends=('python-chardet')
changelog=CHANGELOG
source=("git+$url.git")
sha256sums=('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:
|