void-packages/srcpkgs/amp/template

22 lines
594 B
Bash

# Template file for 'amp'
pkgname=amp
version=0.3.4
revision=1
hostmakedepends="cargo git python3 pkg-config cmake perl"
makedepends="libxcb-devel libressl-devel zlib-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() {
cargo build --release ${makejobs}
}
do_install() {
vbin target/release/${pkgname}
}