2018-02-11 19:13:11 -05:00
|
|
|
# Template file for 'amp'
|
|
|
|
pkgname=amp
|
2018-11-18 00:03:11 -02:00
|
|
|
version=0.5.2
|
2019-02-11 22:12:50 -02:00
|
|
|
revision=2
|
2018-10-19 14:36:58 +02:00
|
|
|
build_style=cargo
|
2018-10-02 01:17:16 +02:00
|
|
|
hostmakedepends="cmake git perl pkg-config python3"
|
2018-06-26 12:08:20 +02:00
|
|
|
makedepends="libcurl-devel libgit2-devel libxcb-devel"
|
2018-02-11 19:13:11 -05: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-08-15 04:16:05 -07:00
|
|
|
changelog="https://raw.githubusercontent.com/jmacdonald/amp/master/CHANGELOG.md"
|
2018-02-11 19:13:11 -05:00
|
|
|
distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz"
|
2018-11-18 00:03:11 -02:00
|
|
|
checksum=e1f22a829205cf44f8c3fcf5660dbdb9a3c5a1f64b92c67dcdb75a30ad7e5a60
|
2018-02-11 19:13:11 -05:00
|
|
|
|
2018-10-19 14:36:58 +02:00
|
|
|
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
|
|
|
|
2018-10-02 01:17:16 +02:00
|
|
|
pre_build() {
|
2018-10-19 14:36:58 +02:00
|
|
|
cargo update --package openssl-sys --precise 0.9.39
|
2018-02-11 19:13:11 -05:00
|
|
|
}
|