From 6adce2fa1b90b468acd674fa36e447332e35db83 Mon Sep 17 00:00:00 2001 From: SpidFightFR Date: Mon, 20 May 2024 19:43:38 +0200 Subject: [PATCH] New package: zed-0.136.2 --- srcpkgs/zed/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/zed/template diff --git a/srcpkgs/zed/template b/srcpkgs/zed/template new file mode 100644 index 00000000000000..f519dc8856b153 --- /dev/null +++ b/srcpkgs/zed/template @@ -0,0 +1,21 @@ +# Template file for 'zed' +pkgname=zed +version=0.136.2 +revision=1 +build_style=cargo +make_install_args="--path crates/zed" +hostmakedepends="pkg-config protobuf" +makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-devel" +checkdepends="xorg-fonts" +short_desc="High-performance, multiplayer code editor" +maintainer="SpidFightFR " +license="GPL-3.0-or-later, Apache-2.0, AGPL-3.0-or-later" +homepage="https://zed.dev/" +distfiles="https://github.com/zed-industries/zed/archive/v${version}.tar.gz" +checksum="caf4f16fcc8490fc220a507d2287cfac6a84041c03bd9f51b5b4f63f0704737e" + +post_install() { + vlicense ${wrksrc}/LICENSE-{GPL,APACHE,AGPL} + vinstall ${wrksrc}/crates/zed/resources/zed.desktop 644 usr/share/applications + vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/pixmaps zed.png +}