2018-02-12 01:13:11 +01:00
|
|
|
# Template file for 'amp'
|
|
|
|
pkgname=amp
|
2018-07-11 05:31:10 +02:00
|
|
|
version=0.4.1
|
2018-06-26 12:08:20 +02:00
|
|
|
revision=1
|
|
|
|
hostmakedepends="cargo cmake git perl pkg-config python3"
|
|
|
|
makedepends="libcurl-devel libgit2-devel libxcb-devel"
|
2018-02-12 01:13:11 +01:00
|
|
|
short_desc="A complete text editor for your terminal"
|
|
|
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
2018-06-26 12:08:20 +02:00
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
homepage="https://amp.rs"
|
2018-02-12 01:13:11 +01:00
|
|
|
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
|
2018-07-11 05:31:10 +02:00
|
|
|
checksum=c6c3df2183145db45242c03b05c1bac972b0be15dd86aa2db54a95baa34be2a7
|
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}
|
|
|
|
}
|