void-packages/srcpkgs/amp/template

25 lines
727 B
Bash
Raw Normal View History

# Template file for 'amp'
pkgname=amp
version=0.3.4
2018-04-23 13:23:02 +02:00
revision=2
hostmakedepends="cargo git python3 pkg-config cmake perl"
2018-04-23 13:23:02 +02:00
makedepends="libxcb-devel libressl-devel zlib-devel libcurl-devel libssh2-devel
libgit2-devel"
short_desc="A complete text editor for your terminal"
maintainer="Wilson Birney <wpb@360scada.com>"
license="GPL-3"
homepage="https://github.com/jmacdonald/amp"
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
checksum=c950560292984d135ed5c92c87a2969a7b2b2d3ab97c5d4d5f66075edbc95169
nocross=yes
do_build() {
2018-04-23 13:23:02 +02:00
cargo update --package openssl-sys --precise 0.9.28
export LIBGIT2_SYS_USE_PKG_CONFIG=1
cargo build --release ${makejobs}
}
do_install() {
vbin target/release/${pkgname}
}