23 lines
678 B
Bash
23 lines
678 B
Bash
# Template file for 'amp'
|
|
pkgname=amp
|
|
version=0.4.0
|
|
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>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://amp.rs"
|
|
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
|
|
checksum=6bb6f5da2b14776f677a2ca7781eb82532181806975ecd92496c232ef3347266
|
|
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}
|
|
}
|