updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / quazaa-svn / PKGBUILD
blobd8b450c8b1129b9bcd0b9fa36109654f422a715a
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=quazaa-svn
4 pkgver=456
5 pkgrel=1
6 pkgdesc="Multi-network P2P file-sharing client based on Shareaza which will support Gnutella2, Ares, eDonkey2000 (eMule), HTTP, FTP, and BitTorrent."
7 arch=('i686' 'x86_64')
8 url="http://quazaa.sourceforge.net"
9 license=('GPL3')
10 depends=('qt')
11 makedepends=('subversion')
13 _svntrunk=http://quazaa.svn.sourceforge.net/svnroot/quazaa/
14 _svnmod=quazaa
16 build() {
17    cd $startdir/src/
19    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
21    msg "SVN checkout done or server timeout"
22    msg "Starting make..."
24    # Compilation
25    cd $srcdir/quazaa/trunk
26    qmake
27    make
28    
29    # Installation
30    mkdir -p $pkgdir/usr/share/quazaa
31    cd bin/
32    rm -rf ./GeoIP/.svn/
33    rm -rf ./Skin/.svn/
34    cp -R GeoIP/ Skin/ $pkgdir/usr/share/quazaa
35    install -Dm755 Quazaa $pkgdir/usr/share/quazaa
37    # Desktop icon
38    install -Dm644 ../QuazaaSkinTool/Resource/Quazaa48.png $pkgdir/usr/share/pixmaps/quazaa.png
39    install -Dm644 $startdir/quazaa.desktop $pkgdir/usr/share/applications/quazaa.desktop