1 #Contributor: mightyjaym <jm.ambrosino@free.fr>
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=('lib32-gtk2' 'lib32-libstdc++5' 'lib32-e2fsprogs' 'lib32-nss' 'lib32-libtiff' 'lib32-nspr' 'lib32-gstreamer0.10-base' 'lib32-gconf' 'lib32-libxdamage' 'lib32-sqlite3')
12 source=(http://www.pando.com/dl/download/$_pkgname-$pkgver.tar.bz2 'pandodl_fix' 'pando.desktop' 'license.txt')
13 md5sums=('94ab8db83b3628e648d8cabb603ba88b' 'b123587d456232c0ff294c9bd262274b' \
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/bin32-pando}
23 cp {bin,lib,README} $startdir/pkg/opt/pando/ -r
25 #Pandodl with absolute path
26 install -D -m755 $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/bin32-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 /opt/lib32/usr/lib/libtiff.so $startdir/pkg/opt/pando/lib/libtiff.so.4