aboutsummaryrefslogtreecommitdiffstats
path: root/community/miniupnpc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/miniupnpc/APKBUILD')
-rw-r--r--community/miniupnpc/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/miniupnpc/APKBUILD b/community/miniupnpc/APKBUILD
index 60633071ad0..a81ffadf849 100644
--- a/community/miniupnpc/APKBUILD
+++ b/community/miniupnpc/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=miniupnpc
-pkgver=2.2.2
+pkgver=2.2.5
pkgrel=1
pkgdesc="Library and tool to control NAT in UPnP-enabled routers"
url="http://miniupnp.free.fr"
@@ -22,13 +22,15 @@ check() {
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
+ python3 setup.py install --skip-build --root="$pkgdir"
}
_py3() {
pkgdesc="Python bindings for miniupnpc"
- depends="python3"
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$subpkgdir" --skip-build
+
+ amove usr/lib/python3*
}
-sha512sums="d322ae2a99faf01bee52f50a40d4bc2150c67a2f7e15b6078fe92faf2aecfe7ce10bd98cef3d94a77f6f7d1f7d8451cf4cdbf6fe11c9e7c1854ee066300b0116 miniupnpc-2.2.2.tar.gz"
+sha512sums="
+32d362c43cf5c9f6c1546d85c2dd780f9701f3137bc78471b3670c4c0862b7fc4f081e6cb6fd14e5c0d3ec0602714756959491688998335c8a7b324e6c53aa2f miniupnpc-2.2.5.tar.gz
+"