25 lines
727 B
Bash
25 lines
727 B
Bash
# Template file for 'amp'
|
|
pkgname=amp
|
|
version=0.3.4
|
|
revision=2
|
|
hostmakedepends="cargo git python3 pkg-config cmake perl"
|
|
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() {
|
|
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}
|
|
}
|