void-packages/srcpkgs/amp/template
2018-11-06 01:58:47 +01:00

20 lines
675 B
Bash

# Template file for 'amp'
pkgname=amp
version=0.5.1
revision=3
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=c4090ca66be597c833c29578a69457087d9f17236d1c8bf430d14a9e7d3cb50b
export LIBGIT2_SYS_USE_PKG_CONFIG=1
pre_build() {
cargo update --package openssl-sys --precise 0.9.39
}