mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
20 lines
602 B
Bash
20 lines
602 B
Bash
pkgname=python2-dns
|
|
_pkgname=dnspython
|
|
pkgver=1.12.0
|
|
pkgrel=1
|
|
pkgdesc="A DNS toolkit for Python"
|
|
arch=('any')
|
|
url="http://www.dnspython.org"
|
|
license=('BSD')
|
|
depends=('python2')
|
|
replaces=(python-dnspython)
|
|
provides=(python-dnspython)
|
|
source=(http://www.dnspython.org/kits/$pkgver/$_pkgname-$pkgver.tar.gz)
|
|
sha512sums=('583d069ed7ee9b20f16a964023fa0300f15032c27de6d084205f73394f19a2d5bb1641ef95b08a8ddf1f622eeb5fa8cbfa62b8a2ee478a49b0dff0995e4ae42e')
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
python2 setup.py install --root=$pkgdir
|
|
install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|