1 # Contributor: Kevin Whitaker <eyecreate at gmail dot com>
5 pkgdesc="Cross platform C++ network library (GPL version)"
7 url="http://www.jenkinssoftware.com/"
9 #makedepends=('autoconf')
10 source=(http://www.sumwars.org/data/Raknet2_0.tar.gz)
11 md5sums=('bfdc95cf31d1381fb97631a3f07bc6c8')
16 cd ${srcdir}/Raknet2_0
18 cd ${srcdir}/Raknet2_0/Source
19 msg "Hardcore installation action"
21 mkdir -p ${pkgdir}/usr/lib/pkgconfig
22 cp libraknet.* ${pkgdir}/usr/lib/
23 cp ../Lib/linux/librak* $pkgdir/usr/lib
24 cp ../Lib/linux/rakvoice.* $pkgdir/usr/lib
25 mkdir -p ${pkgdir}/usr/include/raknet/
26 install -m644 ../Include/*.h ${pkgdir}/usr/include/raknet/
27 install -m644 ../RakNet.pc $pkgdir/usr/lib/pkgconfig
29 msg "Hardcore cleaning action"
30 mkdir -p ${pkgdir}/usr/share/raknet/
31 cp -r ../Samples ${pkgdir}/usr/share/raknet/
32 find ${pkgdir}/usr/share/raknet/ -iname "*vcproj*" -delete
33 find ${pkgdir}/usr/share/raknet/ -exec chmod 644 '{}' \;
34 msg "All done, YEAAAAAAAAHHHHHHHHHH1111!!!! +1"