void-packages/srcpkgs/amp/template

25 lines
759 B
Bash
Raw Normal View History

# Template file for 'amp'
pkgname=amp
2018-08-15 11:16:05 +00:00
version=0.5.0
2018-06-26 10:08:20 +00:00
revision=1
hostmakedepends="cargo 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>"
2018-06-26 10:08:20 +00:00
license="GPL-3.0-or-later"
homepage="https://amp.rs"
2018-08-15 11:16:05 +00:00
changelog="https://raw.githubusercontent.com/jmacdonald/amp/master/CHANGELOG.md"
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
2018-08-15 11:16:05 +00:00
checksum=364c389967e9fc40490f66ffc7c80d1fc8c54fe792d2e60b1da05e68cf91a061
nocross=yes
do_build() {
2018-04-23 11:23:02 +00: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}
}