Package Details: megacmd 1.4.0-1

Git Clone URL: https://aur.archlinux.org/megacmd.git (read-only, click to copy)
Package Base: megacmd
Description: MEGA Command Line Interactive and Scriptable Application
Upstream URL: https://github.com/meganz/MEGAcmd
Keywords: cli cloud mega
Licenses: custom
Submitter: RX14
Maintainer: ChrisLane
Last Packager: ChrisLane
Votes: 1
Popularity: 0.34
First Submitted: 2020-07-20 00:23
Last Updated: 2020-11-27 09:54

Latest Comments

paulieg commented on 2020-11-23 00:49

This is out of date now and doesn't work with Mega's current link format. OTOH, although there is a new release 1.4.0, upstream has not tagged it for Linux (ie there is a 1.4.0_MacOS and a 1.4.0_Win, but no 1.4.0_Linux). Here's a PKGBUILD that builds it from master:

pkgname=megacmd-git
pkgver=0
pkgrel=1
pkgdesc="MEGA Command Line Interactive and Scriptable Application"
url="https://github.com/meganz/MEGAcmd"
arch=('any')
license=('custom')
depends=('crypto++' 'zlib' 'sqlite' 'openssl' 'curl' 'c-ares' 'freeimage' 'libsodium'
         'readline' 'libmediainfo' 'pcre' 'ffmpeg' 'libuv')
makedepends=('git' 'autoconf')
provides=('megacmd')
conflicts=('megacmd')
source=("${pkgname}::git+https://github.com/meganz/MEGAcmd")
md5sums=('SKIP')


pkgver() {
  cd "$pkgname"
  git rev-parse --short HEAD
}

prepare() {
  cd "$pkgname"
  git submodule update --init --recursive
}

build() {
  cd "$pkgname"

  sh autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname"

  make DESTDIR="$pkgdir" install
}

nasdack commented on 2020-10-11 06:24

Please note this conflicts with megacmd-bin