# Maintainer (i686): Phil Miller # Maintainer (x86_64): Manuel Tortosa pkgname=libhupnp-svn pkgver=93 pkgrel=1 pkgdesc="Herqq UPnP (HUPnP) is a software library for building UPnP devices" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/hupnp/" license=('GPL') depends=('qt') makedepends=('subversion') _svntrunk=https://hupnp.svn.sourceforge.net/svnroot/hupnp/trunk _svnmod=hupnp build() { cd $srcdir if [ -d $_svnmod/.svn ]; then (cd $_svnmod && svn up) else svn co $_svntrunk $_svnmod fi msg "SVN checkout done or server timeout" msg "Starting make..." cp -r $_svnmod $_svnmod-build cd $_svnmod-build/herqq qmake PREFIX=/usr make install -d $pkgdir/usr/{lib,include} cp -r $srcdir/$_svnmod-build/herqq/hupnp/bin/libHUpnp.* $pkgdir/usr/lib/ cp -r $srcdir/$_svnmod-build/herqq/hupnp/bin/libQtSolutions_SOAP-2.7.* $pkgdir/usr/lib/ cp -r $srcdir/$_svnmod-build/herqq/hupnp/include/HUpnpCore/ $pkgdir/usr/include/HUpnpCore/ find $pkgdir/usr -type f -exec chmod 0644 {} ';' rm -r $srcdir/$_svnmod-build/ }