updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / aerofs / PKGBUILD
blob1c8f51263aebaa3ffc3bbb55c25590f3e078e6ad
1 # Maintainer: Gergely Imreh <imrehg@gmail.com>
2 # http://github.com/imrehg/aur
3 # Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
4 pkgname=aerofs
5 pkgver=EA27.5
6 pkgrel=1
7 pkgdesc="Synchronize your files without servers and build private cloud storage out of your own devices"
8 arch=('any')
9 license=('GPL')
10 depends=('java-runtime>=6' 'sharutils')
11 url="https://www.aerofs.com"
12 source=('https://www.aerofs.com/downloads/aerofs-installer.tgz'
13         'aerofs.desktop'
14         'aerofs.png')
15 package() {
16   _destdir="usr/bin"
18   # Install everything to /opt
19   cd "${srcdir}/aerofs"
20   mkdir -p "${pkgdir}/${_destdir}"
21   cp -r * "${pkgdir}/${_destdir}"
23   # Cleanup unrequired files
24   rm -f "${pkgdir}/${_destdir}/INSTALL"
26   # Put the .desktop and icon file in the correct location
27   install -m644 -D "${srcdir}/aerofs.desktop" "${pkgdir}/usr/share/applications/aerofs.desktop"
28   install -m644 -D "${srcdir}/aerofs.png" "${pkgdir}/usr/share/icons/aerofs.png"
31 md5sums=('8e34876644f78933402f24762742d52f'
32          'f070f1deff94c833f04665640e5d1c17'
33          '1739a2915e71fa45247cd10bb535bbb1')