vp-build/srcpkgs/amp/template

21 lines
675 B
Bash

# Template file for 'amp'
pkgname=amp
version=0.5.2
revision=1
build_style=cargo
hostmakedepends="cmake git perl pkg-config python3"
makedepends="libcurl-devel libgit2-devel libxcb-devel"
short_desc="A complete text editor for your terminal"
maintainer="Wilson Birney <wpb@360scada.com>"
license="GPL-3.0-or-later"
homepage="https://amp.rs"
changelog="https://raw.githubusercontent.com/jmacdonald/amp/master/CHANGELOG.md"
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
checksum=e1f22a829205cf44f8c3fcf5660dbdb9a3c5a1f64b92c67dcdb75a30ad7e5a60
export LIBGIT2_SYS_USE_PKG_CONFIG=1
pre_build() {
cargo update --package openssl-sys --precise 0.9.39
}