Created
September 21, 2014 02:03
-
-
Save samtux/8706c7c6f72341ae0e00 to your computer and use it in GitHub Desktop.
MegaSync Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Alfonso Saavedra "Son Link" <sonlink.dourden@gmail.com> | |
pkgname=megasync | |
pkgver=14.04 | |
pkgrel=6 | |
pkgdesc="Sync your files to your Mega account. Official app" | |
arch=('i686' 'x86_64') | |
url="http://mega.co.nz" | |
license=('custom:The Clarified Artistic License') | |
conflicts=('megatools') | |
depends=('openssl' 'c-ares' 'libgcrypt' 'crypto++' 'qt4' 'libpng' 'qtchooser') | |
if [ "${CARCH}" = 'x86_64' ]; then | |
ARCH=amd64 | |
md5sums=('55910b37325638f7e000a955544f944a') | |
elif [ "${CARCH}" = 'i686' ]; then | |
ARCH=i386 | |
md5sums=('4fef9db2128c15cf4dbea9b6bb5e579f') | |
fi | |
source=("https://mega.co.nz/linux/MEGAsync/xUbuntu_${pkgver}/${ARCH}/${pkgname}-xUbuntu_${pkgver}_${ARCH}.deb") | |
install="${pkgname}.install" | |
options=(!strip) | |
package (){ | |
cd "${srcdir}" | |
pwd | |
tar -xvf data.tar.xz -C ${pkgdir} | |
rm -r ${pkgdir}/usr/share/doc | |
mkdir -p ${pkgdir}/usr/lib | |
ln -s /usr/lib/libcryptopp.so ${pkgdir}/usr/lib/libcrypto++.so.9 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment