Skip to content

Commit 6f2d805

Browse files
authored
add: zed-bin
1 parent bac6460 commit 6f2d805

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

zed-bin/lure.sh

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name='zed-bin'
2+
version=0.186.9
3+
release=1
4+
desc='A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter'
5+
maintainer='Elara Ivy <elara@elara.ws>'
6+
homepage='https://zed.dev'
7+
architectures=('amd64' 'arm64')
8+
license=('GPL-3.0-or-later')
9+
provides=('zed')
10+
conflicts=('zed')
11+
12+
deps=('libasound2'
13+
'fontconfig'
14+
'libgcc-12-dev'
15+
'libc6'
16+
'libxcb1'
17+
'libxkbcommon0'
18+
'libxkbcommon-x11-0'
19+
'libssl3'
20+
'libsqlite3-0'
21+
'mesa-vulkan-drivers'
22+
'vulkan-tools'
23+
'libvulkan1'
24+
'libwayland-client0'
25+
'libwayland-cursor0'
26+
'libwayland-egl1'
27+
'zlib1g')
28+
29+
deps_arch=('alsa-lib'
30+
'fontconfig'
31+
'gcc-libs'
32+
'glibc'
33+
'libxcb'
34+
'libxkbcommon'
35+
'libxkbcommon-x11'
36+
'openssl'
37+
'sqlite'
38+
'vulkan-driver'
39+
'vulkan-icd-loader'
40+
'vulkan-tools'
41+
'wayland'
42+
'zlib')
43+
44+
sources_arm64=("https://zed.dev/api/releases/stable/$version/zed-linux-aarch64.tar.gz")
45+
checksums_arm64=('44675edfebf91f60673c6a9c5aee87807e2e6050451374f0916c389187131429')
46+
47+
sources_amd64=("https://zed.dev/api/releases/stable/$version/zed-linux-x86_64.tar.gz")
48+
checksums_amd64=('f36cc489a7e517928734a0a38bf86d776e4100324265eee3803f4fc86f48163d')
49+
50+
package() {
51+
cd zed.app
52+
sed -i "s|Exec=zed|Exec=/usr/lib/zed/zed-editor|g" "share/applications/zed.desktop"
53+
54+
install-binary bin/zed zeditor
55+
install -Dm755 "libexec/zed-editor" "$pkgdir/usr/lib/zed/zed-editor"
56+
install-desktop share/applications/zed.desktop dev.zed.Zed.desktop
57+
install-license licenses.md zed-bin/LICENSE.md
58+
install-icon "share/icons/hicolor/512x512/apps/zed.png"
59+
}

0 commit comments

Comments
 (0)