1 # Contributor: Nassim Kacha <nassim.kacha@gmail.com>
5 pkgdesc="A graphical file transfer and file synchronization application. It supports network protocols such as SFTP and FTP"
7 url="http://capivara.sourceforge.net"
9 depends=('java-runtime')
11 source=(http://ovh.dl.sourceforge.net/project/capivara/capivara/$pkgver/$pkgname-$pkgver-bin.zip capivara.desktop)
12 md5sums=('56c5af0dbd8f05677272eba13061aad6' '2708ebf92da005c191a45e159700d738')
15 mkdir -p ${pkgdir}/usr/bin
16 mkdir -p ${pkgdir}/usr/share/applications
17 cp capivara.desktop ${pkgdir}/usr/share/applications/
18 cp -r ${srcdir}/${pkgname}-${pkgver} ${pkgdir}/usr/share/${pkgname}-${pkgver}
19 echo "java -jar /usr/share/${pkgname}-${pkgver}/capivara.jar" > $pkgdir/usr/bin/$pkgname
20 chmod 755 $pkgdir/usr/bin/$pkgname