updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / kio-upnp-ms / PKGBUILD
blob6bfe031f2f4b8ea8e82887eaae310752d85ccb89
1 pkgname=kio-upnp-ms
2 pkgver=0.8.0
3 pkgrel=1
4 pkgdesc="This is the UPnP MediaServer KIO-slave for the KDE platform"
5 arch=('i686' 'x86_64')
6 url="http://gitorious.net/kio-upnp-ms"
7 license=('GPL2')
8 depends=('herqq-svn-r55')
9 makedepends=('automoc4' 'cmake')
11 source=(
12         "http://github.com/nikhilm/kio-upnp-ms/tarball/v0.8.0"
13         "FindHUpnp.cmake"
14         "CMakeLists-build-fix.patch"
16 sha256sums=(
17         'c09a23423a8c761d9fad3bf88a5a57ce9b9f026cb6ca2be7dfb77570f3af9c47'
18         '7c86b2e758a13c0a7d4dd6d5834736d5fa6046d418e81fb59402da84041b93d1'
19         '6938e831cfbeadc5b3c12399f0e10c39498d72213ff639a5f8afe97d2971c3cf'
22 _dirname='nikhilm-kio-upnp-ms-2e86418';
24 build() {
25         
26         cd "$srcdir/$_dirname"
27         mkdir -p "$srcdir/$_dirname/cmake/modules"
28         cp "$srcdir/FindHUpnp.cmake" "$srcdir/$_dirname/cmake/modules"
29         patch -p1 < "$srcdir/CMakeLists-build-fix.patch"
30         mkdir build && cd build
31         cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
32         make || return 1
33         make DESTDIR="$pkgdir/" install || return 1