1 #Contributor: Dario Andres Rodriguez <darzephyr@gmail.com>
7 pkgdesc="Free personal P2P software that makes sending, receiving and publishing large files a breeze."
9 url="http://www.pando.com/phpbb/viewtopic.php?t=4046"
11 depends=('gtk2' 'libstdc++5' 'e2fsprogs' 'nss' 'libtiff')
12 source=(http://www.pando.com/dl/download/$_pkgname-$pkgver.tar.bz2 'pandodl_fix' 'pando.desktop' 'license.txt')
13 md5sums=('94ab8db83b3628e648d8cabb603ba88b' 'f6545a5a17650fe61ff240b3d84ca65f' \
14 'a7c0f0ce8cea666ca92dce2b89a0074a' '8edcb50b765498b4810c49e0b116aa6d')
18 cd $startdir/src/$_pkgname-21684
20 mkdir -p $startdir/pkg/opt/pando/
21 mkdir -p $startdir/pkg/usr/share/{applications,pixmaps,licenses/pando}
23 cp {bin,lib,README} $startdir/pkg/opt/pando/ -r
25 #Pandodl with absolute path
26 cp $startdir/src/pandodl_fix $startdir/pkg/opt/pando/pandodl
29 cp pando_icon48.png $startdir/pkg/usr/share/pixmaps
30 cp $startdir/src/pando.desktop $startdir/pkg/usr/share/applications
33 cp $startdir/src/license.txt $startdir/pkg/usr/share/licenses/pando/license.txt
36 mkdir -p $startdir/pkg/usr/bin
37 ln -s /opt/pando/pandodl $startdir/pkg/usr/bin/pandodl
40 rm $startdir/pkg/opt/pando/lib/{libnspr4.so,libplc4.so,libplds4.so}
42 rm $startdir/pkg/opt/pando/lib/{libfreebl3.so,libnss3.so,libnssckbi.so,libsmime3.so,libsoftokn3.so,libssl3.so}
45 ln -s /usr/lib/libtiff.so $startdir/pkg/opt/pando/lib/libtiff.so.4