void-packages/srcpkgs/amp/template
q66 e3abfd7eca amp: fix build
The termbox-sys patch can be dropped as the crate is no longer
used. And we need to bump the openssl-sys crate for compatibility
with newer libressl.
2019-12-16 14:56:31 +01:00

20 lines
673 B
Bash

# Template file for 'amp'
pkgname=amp
version=0.6.0
revision=1
build_style=cargo
hostmakedepends="cmake git perl pkg-config python3"
makedepends="libcurl-devel libgit2-devel libxcb-devel"
short_desc="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=3529e9aa51df80ff3bd9db340423bf0975b58473fc0a307ea6eee799089ee2e2
export LIBGIT2_SYS_USE_PKG_CONFIG=1
pre_build() {
cargo update --package openssl-sys --precise 0.9.53
}