1 #Contributor: Philipp Schwarz <fi-dschi_archlinux - at - arcor - dot - de>
2 # SanskritFritz (gmail)
7 pkgdesc="Easy-to-use personal file backup software supporting compression, encryption and incremental backups"
10 depends=('java-runtime')
12 url=('http://areca.sf.net')
13 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-linux-gtk-32.tar.gz"
19 md5sums=('ca63a8189701058af8fd366c0d08faf6'
20 '024e3fe74c518a9dee889f3ea1ff9f71'
21 '662d65e44fe0806cff69850dae55f107'
22 '8e0088445454ab80a9f04c84b3363814'
23 '2f1bd15c94600065c43366f440cc0c37'
24 '5e978edc20d715cefec098e3e77a3721')
26 [ "$CARCH" = "x86_64" ] && source[0]="http://downloads.sourceforge.net/project/areca/areca-stable/areca-${pkgver}/areca-${pkgver}-linux-gtk-64.tar.gz"
27 [ "$CARCH" = "x86_64" ] && md5sums[0]='af9e77cd774a1fd07a9ad374b2cd2c04'
31 mkdir -p "${pkgdir}/opt/" || return 1
32 cp -r "${srcdir}/${pkgname}" "${pkgdir}/opt/" || return 1
34 # chmod 755 ${pkgdir}/opt/areca/bin/*
37 # copy start scripts to /usr/bin for they then will be in $PATH
38 # these contain the full fixed path of /opt/areca/bin/areca_run.sh
39 for _script in "areca" "areca_cl" "areca_decrypt" "areca_dezip"
41 install -D "${startdir}/${_script}.sh" "${pkgdir}/usr/bin/${_script}" || return 1
45 mkdir -p "${pkgdir}/usr/share/pixmaps"
46 ln -s "/opt/areca/icons/ico_72.png" "${pkgdir}/usr/share/pixmaps/areca_72x72.png" || return 1
48 # copy .desktop file (menu entry)
49 install -D "${startdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" || return 1