updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / capivara / PKGBUILD
blobdb4463873ee9e876ddcee5a21435955acb8a6566
1 # Contributor: Nassim Kacha <nassim.kacha@gmail.com> 
2 pkgname=capivara
3 pkgver=0.8.9
4 pkgrel=2
5 pkgdesc="A graphical file transfer and file synchronization application. It supports network protocols such as SFTP and FTP"
6 arch=('i686' 'x86_64')
7 url="http://capivara.sourceforge.net"
8 license=('GPL2')
9 depends=('java-runtime')
10 makedepends=('unzip')
11 source=(http://ovh.dl.sourceforge.net/project/capivara/capivara/$pkgver/$pkgname-$pkgver-bin.zip capivara.desktop)
12 md5sums=('56c5af0dbd8f05677272eba13061aad6' '2708ebf92da005c191a45e159700d738')
14 build() {
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
22