diff options
author | Mark Wagie | 2021-01-07 14:11:24 -0700 |
---|---|---|
committer | Mark Wagie | 2021-01-07 14:11:24 -0700 |
commit | 31240f2498150ea8cab264f0a5f4d18e6e262bd6 (patch) | |
tree | c092c9c82558775776dfd4604c62af7546de28b5 | |
parent | f5ff60118b917167246d267eeaf4d96e5708482c (diff) | |
download | aur-31240f2498150ea8cab264f0a5f4d18e6e262bd6.tar.gz |
1.5.0
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 36 insertions, 27 deletions
@@ -1,17 +1,19 @@ pkgbase = evillimiter - pkgdesc = Tool that limits bandwidth of devices on the same network without access. - pkgver = 1.2.0 + pkgdesc = Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access. + pkgver = 1.5.0 pkgrel = 1 url = https://github.com/bitbrute/evillimiter - arch = x86_64 + arch = any license = MIT makedepends = python-setuptools - depends = python3 - depends = python-terminaltables - depends = python-tqdm + depends = python-colorama depends = python-netaddr - source = https://github.com/bitbrute/evillimiter/archive/v1.2.0.tar.gz - sha256sums = 125ababe605cdc72a7167a65a63ce349269b6ec16ddb04195e46e783738343b6 + depends = python-netifaces + depends = python-tqdm + depends = python-scapy + depends = python-terminaltables + source = evillimiter-1.5.0.tar.gz::https://github.com/bitbrute/evillimiter/archive/v1.5.0.tar.gz + sha256sums = e8894b7e0c6df3144abc07babf08d5ba4321895c8f85a52932aaf8adc06c9829 pkgname = evillimiter diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -1,30 +1,30 @@ -# Maintainer: YaYPIXXO <viggo@lekdorf.com> +# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> +# Contributor: YaYPIXXO <viggo@lekdorf.com> pkgname=evillimiter -pkgver=1.2.0 +pkgver=1.5.0 pkgrel=1 -pkgdesc="Tool that limits bandwidth of devices on the same network without access." -arch=('x86_64') +pkgdesc="Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access." +arch=('any') url="https://github.com/bitbrute/evillimiter" license=('MIT') -depends=('python3' 'python-terminaltables' 'python-tqdm' 'python-netaddr') +depends=('python-colorama' 'python-netaddr' 'python-netifaces' 'python-tqdm' + 'python-scapy' 'python-terminaltables') makedepends=('python-setuptools') -source=( -https://github.com/bitbrute/evillimiter/archive/v${pkgver}.tar.gz -) -sha256sums=( -'125ababe605cdc72a7167a65a63ce349269b6ec16ddb04195e46e783738343b6' -) - -build () { - - cd "${srcdir}"/${pkgname}-${pkgver} - python setup.py build +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('e8894b7e0c6df3144abc07babf08d5ba4321895c8f85a52932aaf8adc06c9829') +build() { + cd "$pkgname-$pkgver" + python setup.py build } -package () { +package() { + cd "$pkgname-$pkgver" + export PYTHONHASHSEED=0 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build - cd "${srcdir}"/${pkgname}-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + # Fix LIBC issue + ln -sf /usr/lib/libc.a "$pkgdir/usr/lib/liblibc.a" } |