diff options
author | Jean Lucas | 2018-08-23 17:34:50 -0400 |
---|---|---|
committer | Jean Lucas | 2018-08-23 17:39:12 -0400 |
commit | c92cfbf8ead64a44b021a3018a5731ef040943a3 (patch) | |
tree | 9e93c1da7d238176211fba23cb548565f615ad6e /PKGBUILD | |
download | aur-c92cfbf8ead64a44b021a3018a5731ef040943a3.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5e9b58267bdd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=parsedmarc +pkgver=0+159+4853537 +_commit=485353776573fd0a5860b53aa5d97fdbcf7a4456 +pkgrel=1 +pkgdesc='Python package and CLI for parsing aggregate and forensic DMARC reports' +arch=(any) +url=https://domainaware.github.io/parsedmarc +license=(Apache) +depends=(python-dnspython + python-requests + python-publicsuffix + python-xmltodict + python-pygeoip + python-dnspython + python-imapclient + python-mail-parser + python-dateparser + python-elasticsearch + python-elasticsearch-dsl + flake8 + python-sphinx + python-sphinx_rtd_theme + python-collective-checkdocs + python-wheel + rstcheck) +makedepends=(git python-setuptools) +source=(git+https://github.com/domainaware/parsedmarc#commit=$_commit) +sha512sums=(SKIP) + +pkgver() { + cd parsedmarc + printf 0+%s+%s $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +} + +package() { + cd parsedmarc + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm 644 -t "$pkgdir"/usr/share/licenses/parsedmarc LICENSE +} |