summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13422a1bdca45dcba907a9b93bc820f7fd1ea3f3 (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: Alberto Redondo <albertomost at gmail dot com>

_pkgname=domain-connect
_pkgname_gh=domainconnect_python
pkgname=python-${_pkgname}
pkgver=0.0.9
pkgrel=1
pkgdesc='Python client library for Domain Connect protocol'
arch=('any')
url='https://github.com/Domain-Connect/domainconnect_python'
_url_pypi='https://pypi.org/project/domain-connect'
license=('custom')
depends=(
  'python'
  'python-six'
  'python-cryptography'
  'python-publicsuffixlist'
  'python-dnspython'
  'python-future'
  'python-publicsuffix'
)
makedepends=('python-setuptools')
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
md5sums=('8e0fd6ed45a1bbc66dc859366e68c3cf')

build() {

  cd ${_pkgname_gh}-${pkgver}

  python setup.py build

}

package() {

  cd ${_pkgname_gh}-${pkgver}

  python setup.py install \
    -O1 \
    --root="${pkgdir}" \
    --skip-build

  install -Dm644 LICENSE \
    -t "${pkgdir}/usr/share/licenses/${pkgname}"

}