diff options
author | kewl fft | 2018-02-09 20:33:07 +0000 |
---|---|---|
committer | kewl fft | 2018-02-09 20:33:07 +0000 |
commit | 516af6d2018d4db4c02c0873bd80cb5fb75a88fe (patch) | |
tree | 79633554ced59b9349f7ad744df3205d73306314 | |
parent | f4944044822fe2fdc02056a497260648ae2fa427 (diff) | |
download | aur-516af6d2018d4db4c02c0873bd80cb5fb75a88fe.tar.gz |
refreshed in line with python2-miniupnpc
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 12 insertions, 22 deletions
@@ -1,17 +1,16 @@ pkgbase = python-miniupnpc - pkgdesc = Repack of the original miniupnp project to facilitate install via PyPi - pkgver = 1.9 - pkgrel = 1 - url = https://github.com/chenhouwu/miniupnpc + pkgdesc = A small UPnP client library/tool to access Internet Gateway Devices + pkgver = 2.0.20180203 + pkgrel = 2 + url = http://miniupnp.free.fr arch = i686 arch = x86_64 license = custom makedepends = python-setuptools depends = python options = !emptydirs - source = https://pypi.python.org/packages/source/m/miniupnpc/miniupnpc-1.9.tar.gz - md5sums = 396f0e9a694582e422d2f140ae9781d2 - sha256sums = 498b35c5443e8de566f3a4de4bceae28fbf6e08ed59afb5ffd516d0bb718bca6 + source = http://miniupnp.free.fr/files/miniupnpc-2.0.20180203.tar.gz + md5sums = 48fd9c899f77e898c74d2166590da076 pkgname = python-miniupnpc @@ -1,38 +1,29 @@ # Maintainer: Techmeology <techmeology@techmeology.co.uk> +# Maintainer: Kewl <xrjy@nygb.rh.bet(rot13)> # Based on python2-miniupnpc AUR package pkgname=python-miniupnpc pkgver=2.0.20180203 -pkgrel=1 -pkgdesc="Repack of the original miniupnp project to facilitate install via PyPi" +pkgrel=2 +pkgdesc="A small UPnP client library/tool to access Internet Gateway Devices" arch=('i686' 'x86_64') depends=('python') makedepends=('python-setuptools') -url="https://github.com/chenhouwu/miniupnpc" +url="http://miniupnp.free.fr" license=('custom') options=(!emptydirs) -source=(http://miniupnp.free.fr/files/miniupnpc-${pkgver}.tar.gz) +source=(http://miniupnp.free.fr/files/${pkgname#python-}-${pkgver}.tar.gz) md5sums=('48fd9c899f77e898c74d2166590da076') -prepare(){ - cd $srcdir/${pkgname#python-}-$pkgver - - msg 'Fixing Python version...' -} - build() { cd $srcdir/${pkgname#python-}-$pkgver - msg 'Building...' + make python setup.py build } package() { cd $srcdir/${pkgname#python-}-$pkgver - - msg 'Installing license...' - install -Dm 644 LICENSE $pkgdir/usr/share/licenses/python-miniupnpc/LICENSE - msg 'Installing...' python setup.py install --root="$pkgdir" --optimize=1 } |