summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97611a8013706549351160ddf341510b094e3dcb (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
55
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>

_py="python"
_pkg=certbot-extra-formats
pkgname="${_pkg}-git"
pkgver=0.1
pkgrel=1
_pkgdesc=(
  "Combine and write 'Let's encrypt'"
  "certificates compatible with a given application.")
pkgdesc="${_pkgdesc[*]}"
_ns="tallero"
url="https://github.com/${_ns}/${_pkg}"
license=(
  'AGPLv3'
)
arch=(
  'any'
)
depends=(
  "certbot"
)
makedepends=(
  'git'
  "${_py}-setuptools"
)
provides=(
  "${_pkg}"
  "${_py}-${_pkg}"
)
conflicts=(
  "${_pkg}"
)
source=(
  "${_pkg}::git+${url}.git"
)
sha512sums=(
  'SKIP'
)

pkgver() {
  cd "${_pkg}"
  git describe --tags | \
    sed 's/-/+/g'
}

package() {
    cd "${_pkg}"
    python3 setup.py \
	    install \
	    --root="${pkgdir}" \
	    --optimize=1
}

# vim:set sw=2 sts=-1 et: