28 lines
800 B
Bash
28 lines
800 B
Bash
# Template file for 'MEGAcmd'
|
|
pkgname=MEGAcmd
|
|
version=1.4.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="autoconf-archive autogen gettext automake libtool pkg-config"
|
|
makedepends="MEGAsdk-devel readline-devel pcre-devel"
|
|
short_desc="Command Line Interactive and Scriptable Application to access MEGA"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause, GPL-3.0-or-later"
|
|
homepage="https://github.com/meganz/MEGAcmd"
|
|
distfiles="https://github.com/meganz/MEGAcmd/archive/${version}_Linux.tar.gz"
|
|
checksum=2a3626a9f1d22303fe2123f984a8ecf3779d6d59ac6c67c1bf43c2423dcb832d
|
|
replaces="megacmd>=0"
|
|
CXXFLAGS=-std=c++17
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args="--with-libtool-sysroot=${XBPS_CROSS_BASE}"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|