1 #Contributor: Troll <gnu.troll@gmail.com>
5 pkgdesc="Bittorrent/Edonkey Client"
6 url="http://hydranode.com/"
9 install=hydranode.install
10 source=(http://puzzle.dl.sourceforge.net/sourceforge/hydranode/$pkgname-$pkgver-r2998-linux.tar.bz2 hydranode hydranode.png hydranode.desktop)
11 md5sums=('14e79f3e97b7da45bdc48bcc2f2136e5')
14 cd $startdir/src/$pkgname-$pkgver/
16 mkdir -p $startdir/pkg/opt/$pkgname-$pkgver/
17 mkdir -p $startdir/pkg/opt/$pkgname-$pkgver/backgrounds/plugins
18 mkdir -p $startdir/pkg/opt/$pkgname-$pkgver/doc
19 mkdir -p $startdir/pkg/opt/$pkgname-$pkgver/lib
20 mkdir -p $startdir/pkg/opt/$pkgname-$pkgver/plugins
24 install -m 755 $startdir/src/$pkgname-$pkgver/hlink $startdir/pkg/opt/$pkgname-$pkgver/
25 install -m 755 $startdir/src/$pkgname-$pkgver/hydranode $startdir/pkg/opt/$pkgname-$pkgver/
26 install -m 755 $startdir/src/$pkgname-$pkgver/hydranode-core $startdir/pkg/opt/$pkgname-$pkgver/
30 install -m 644 $startdir/src/$pkgname-$pkgver/backgrounds/plugins/donkeyserverbar.png $startdir/pkg/opt/$pkgname-$pkgver/backgrounds/plugins/
31 install -m 644 $startdir/src/$pkgname-$pkgver/backgrounds/*.png $startdir/pkg/opt/$pkgname-$pkgver/backgrounds/
32 install -m 644 $startdir/src/$pkgname-$pkgver/doc/* $startdir/pkg/opt/$pkgname-$pkgver/doc/
33 install -m 644 $startdir/src/$pkgname-$pkgver/lib/* $startdir/pkg/opt/$pkgname-$pkgver/lib
34 install -m 644 $startdir/src/$pkgname-$pkgver/plugins/* $startdir/pkg/opt/$pkgname-$pkgver/plugins
36 # Install .desktop file
37 mkdir -p $startdir/pkg/usr/share/applications
38 install -m 644 $startdir/$pkgname.desktop $startdir/pkg/usr/share/applications/
41 mkdir -p $startdir/pkg/usr/share/pixmaps
42 install -m 644 $startdir/$pkgname.png $startdir/pkg/usr/share/pixmaps/
45 mkdir -p $startdir/pkg/usr/bin/
46 install -m 755 $startdir/hydranode $startdir/pkg/usr/bin/