updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / aerofs / PKGBUILD
blob5e9f13fc22ba36b2f10d1ab7cb253ba626cb57a9
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=EA31.1
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=('f7ca50f28693a0c5edcf5bad45597a7b'
32          'f070f1deff94c833f04665640e5d1c17'
33          '1739a2915e71fa45247cd10bb535bbb1')