2 pkgname=doublecmd-gtk2-bin-nightly
6 pkgdesc="Double Commander is a cross platform open source file manager with two panels side by side. It is inspired by Total Commander and features some new ideas."
8 url='http://doublecmd.sourceforge.net'
10 optdepends=('lua: scripting' 'p7zip: support for 7zip archives' 'libunrar: support for rar archives')
11 provides=('doublecmd')
12 conflicts=('doublecmd-svn' 'doublecmd-ppa')
13 replaces=('doublecmd' 'doublecmd-svn')
15 install=doublecmd-gtk2-bin-nightly.install
16 source=('doublecmd.desktop')
17 md5sums=('da7d4b1403dcb2ee52c83d32c82caf7a')
21 source=(${source[@]} "http://downloads.sourceforge.net/project/doublecmd/DC%20for%20Linux%2032%20bit/Double%20Commander%20${pkgver}%20beta/doublecmd-${pkgver}.gtk2.i386.tar.xz")
22 md5sums=(${md5sums[@]} '5cf801d0a844543816e7806b71ec7143')
25 source=(${source[@]} "http://downloads.sourceforge.net/project/doublecmd/DC%20for%20Linux%2064%20bit/Double%20Commander%20${pkgver}%20beta/doublecmd-${pkgver}.gtk2.x86_64.tar.xz")
26 md5sums=(${md5sums[@]} '8c996631f75b866d5e93c1bf1eeba20e')
33 # some problem with last nightly
34 #msg "Check revision..."
36 #wget -q http://www.firebirdsql.su/dc/
37 #_pkgver=$(cat index.html |grep '.gtk2.i386.tar.bz2>'|cut -f5 -d'.'|cut -c2-5)
39 #echo "Last revision" $_pkgver
43 # FX_SRC="doublecmd.0.5.5.r${_pkgver}.gtk2.i386.tar.bz2"
46 # FX_SRC="doublecmd.0.5.5.r${_pkgver}.gtk2.x86_64.tar.bz2"
50 #FX_SRC_URI="http://www.firebirdsql.su/dc/${FX_SRC}"
54 install -d -m755 "${pkgdir}/${prefix}"
56 cp -r doublecmd "${pkgdir}/opt"
57 sed -i -e 's/<UseConfigInProgramDir>True/<UseConfigInProgramDir>False/' "${pkgdir}/${prefix}"/doublecmd.xml
59 rm $pkgdir/$prefix/libunrar.so
61 # create doublecmd link to /usr/bin
62 mkdir -p $pkgdir/usr/bin
63 ln -s $prefix/doublecmd $pkgdir/usr/bin/doublecmd
65 # install desktop file and icon
66 install -Dm644 doublecmd.desktop $pkgdir/usr/share/applications/doublecmd.desktop
67 install -Dm644 doublecmd/doublecmd.png $pkgdir/usr/share/pixmaps/doublecmd.png
73 #wget -N ${FX_SRC_URI}
75 #cd "${pkgdir}/${prefix}"
76 #tar -xjf "${startdir}/${FX_SRC}"
78 # Fix owner:group (???)
79 #chown -R root:root $pkgdir/$prefix
81 #true && pkgver=$_pkgver