mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
|
|
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
|
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
|
|
|
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/
|
|
}
|