blob: 92f0663a526508b87c244ce8e114ca513e1ea214 (
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
|
# Maintainer: la Fleur <lafleur at boum dot org>
# Contributor: Ivan Cai <caizixian@users.noreply.github.com>
pkgname=python-iptables
pkgver=1.0.1
pkgrel=1
pkgdesc='Python bindings for iptables'
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
url='https://github.com/ldx/python-iptables'
license=('Apache')
groups=()
depends=('python' 'iptables')
makedepends=('python-setuptools' 'gcc')
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
source=("https://github.com/ldx/${pkgname}/archive/v${pkgver}.tar.gz")
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}
sha256sums=('0ab4d2b1e4c268717dd2e7cb0f527dee06f39cdcdd763f1803a6f2618fe410ee')
|