# Maintainer: PktSurf app=miniupnpc version=2.1 build=1sml homepage="http://miniupnp.free.fr/" download="http://miniupnp.free.fr/files/download.php?file=miniupnpc-$version.tar.gz" desc="Client library to enable applications to access UPnP services on the network" requires="python3" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make make install INSTALLPREFIX=/usr DESTDIR=$pkg LIBDIR=lib python3 setup.py build python3 setup.py install --root=$pkg cp LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" 839a341e9fe0b2128383c6de4887dc551974aabefc0646a3bef811c6bc19efd0be59bae0a92c8deaef46c3658dfa0cd8376ac243dfbc7d22f96dc8dfb02e2db0 miniupnpc-2.1.tar.lz "