2018-02-12 01:13:11 +01:00
|
|
|
# Template file for 'amp'
|
|
|
|
pkgname=amp
|
2018-03-25 20:45:19 +02:00
|
|
|
version=0.3.4
|
2018-04-23 13:23:02 +02:00
|
|
|
revision=2
|
2018-02-12 01:13:11 +01:00
|
|
|
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"
|
2018-02-12 01:13:11 +01:00
|
|
|
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"
|
2018-03-25 20:45:19 +02:00
|
|
|
checksum=c950560292984d135ed5c92c87a2969a7b2b2d3ab97c5d4d5f66075edbc95169
|
2018-02-12 01:13:11 +01:00
|
|
|
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
|
2018-02-12 01:13:11 +01:00
|
|
|
cargo build --release ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/${pkgname}
|
|
|
|
}
|