diff --git a/srcpkgs/amp/template b/srcpkgs/amp/template new file mode 100644 index 0000000000..5b1560f6e1 --- /dev/null +++ b/srcpkgs/amp/template @@ -0,0 +1,21 @@ +# Template file for 'amp' +pkgname=amp +version=0.3.3 +revision=1 +hostmakedepends="cargo git python3 pkg-config cmake perl" +makedepends="libxcb-devel libressl-devel zlib-devel" +short_desc="A complete text editor for your terminal" +maintainer="Wilson Birney " +license="GPL-3" +homepage="https://github.com/jmacdonald/amp" +distfiles="https://github.com/jmacdonald/amp/archive/${version}.tar.gz" +checksum=8a77cf1cda4dd9485b3f49dfb9c8a738de60b4cb0ab5f97f674b9b78fd3cd313 +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vbin target/release/${pkgname} +}