1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-22 22:41:05 +01:00
void-packages/srcpkgs/zed/template

28 lines
1.2 KiB
Bash
Raw Normal View History

2024-08-09 09:19:07 +02:00
# Template file for 'zed'
2024-07-18 09:40:51 +02:00
pkgname=zed
2024-10-18 15:08:29 +02:00
version=0.156.2
2024-07-18 09:40:51 +02:00
revision=1
archs="x86_64* aarch64*"
build_style=cargo
make_install_args="--path crates/zed"
2024-10-05 12:02:01 +02:00
make_check_args="-- --test-threads 1"
2024-10-18 15:08:29 +02:00
hostmakedepends="pkg-config protobuf gettext mold clang18 cmake"
2024-07-18 09:40:51 +02:00
makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel
2024-10-05 12:02:01 +02:00
libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-1.8-devel
sqlite-devel"
2024-07-18 09:40:51 +02:00
depends="git"
checkdepends="noto-fonts-ttf"
short_desc="High-performance, multiplayer code editor"
maintainer="SpidFightFR <spidfight@swisscows.email>"
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"
2024-10-18 15:08:29 +02:00
checksum="cd73e071f9a6b816e6b3ed593eb9ef4ae0c7f5b9a72fb26f2dc6da4f79c80088"
2024-07-18 09:40:51 +02:00
post_install() {
vlicense ${wrksrc}/LICENSE-AGPL
2024-10-05 12:02:01 +02:00
APP_NAME="Zed" DO_STARTUP_NOTIFY="true" APP_ICON="zed" APP_CLI="zed" envsubst < ${wrksrc}/crates/zed/resources/zed.desktop.in > ${wrksrc}/crates/zed/resources/zed.desktop
2024-07-18 09:40:51 +02:00
vinstall ${wrksrc}/crates/zed/resources/zed.desktop 644 usr/share/applications/
vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/icons/hicolor/512x512/apps/ zed.png
2024-07-18 15:59:12 +02:00
}