blob: f419bc3ede6441316853a9802fd64b4d0c85e83d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pkgname=python-ipcalc
pkgver=1.99.0
pkgrel=2
pkgdesc='IP subnet calculator for Python.'
arch=('any')
url='https://github.com/tehmaze/ipcalc'
license=('custom')
depends=('python')
source=("https://pypi.python.org/packages/source/i/ipcalc/ipcalc-${pkgver}.tar.gz")
sha1sums=('a9841397166cce456f02e0226c0b97cbbdaf300a')
package() {
cd "$srcdir/ipcalc-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|