summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2cbb991b9148999ec9843e12b76531d578b55239 (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
# Maintainer: GI_Jack <GI_Jack@hackermail.com>

pkgname=python-ldapdomaindump
_pypiname=ldapdomaindump
pkgver=0.9.4
pkgrel=2
pkgdesc="Active Directory information dumper via LDAP, written in python"
url="https://github.com/dirkjanm/ldapdomaindump/"
arch=('any')
license=('MIT')
depends=('python' 'python-future' 'python-dnspython' 'python-ldap3')
makedepends=('python-build' 'python-installer' 'python-wheel')
provides=('ldapdomaindump')
source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/dirkjanm/ldapdomaindump/archive/v${pkgver}.tar.gz")
sha256sums=('43a0822c96d06b8f7a3e3f044deb1591344c84d273c9d7f5815347c88af300fa')

build() {
    cd ${_pypiname}-${pkgver}
    python -m build --wheel --no-isolation
}

package() {
    cd ${_pypiname}-${pkgver}
    python -m installer --destdir="${pkgdir}" dist/*.whl
}