Skip to content
Snippets Groups Projects
Verified Commit 69c577ea authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 0.143.6-1

parent 85f498d6
No related branches found
No related tags found
No related merge requests found
pkgbase = zed
pkgdesc = A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter
pkgver = 0.142.6
pkgver = 0.143.6
pkgrel = 1
url = https://zed.dev
arch = x86_64
......@@ -33,9 +33,7 @@ pkgbase = zed
optdepends = eslint: improved Javascript language support
optdepends = rust-analyzer: improved Rust language support
replaces = zed-editor
source = https://github.com/zed-industries/zed/archive/v0.142.6/zed-0.142.6.tar.gz
source = use-lib-not-libexec.patch
sha256sums = 639b326a215bcb10510deb5c28f0e730581a0e086e2b57d62e7f581b102955d7
sha256sums = 180f8f84cd4320a758225ccb016cd6fc46146f1e7ba6d2c3b75decee8b89989d
source = https://github.com/zed-industries/zed/archive/v0.143.6/zed-0.143.6.tar.gz
sha256sums = d9e162c480aa6ee34fd39a32f5c51f2c015c13ba093ed57a99b0d12cff11e402
pkgname = zed
......@@ -2,7 +2,7 @@
# Contributor: Marcell Pardavi <marcell.pardavi@gmail.com>
pkgname=zed
pkgver=0.142.6
pkgver=0.143.6
pkgrel=1
pkgdesc='A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter'
arch=(x86_64)
......@@ -35,10 +35,8 @@ optdepends=('clang: improved C/C++ language support'
'rust-analyzer: improved Rust language support')
replaces=(zed-editor)
_archive="$pkgname-$pkgver"
source=("$_url/archive/v$pkgver/$_archive.tar.gz"
use-lib-not-libexec.patch)
sha256sums=('639b326a215bcb10510deb5c28f0e730581a0e086e2b57d62e7f581b102955d7'
'180f8f84cd4320a758225ccb016cd6fc46146f1e7ba6d2c3b75decee8b89989d')
source=("$_url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('d9e162c480aa6ee34fd39a32f5c51f2c015c13ba093ed57a99b0d12cff11e402')
_binname=zeditor
_appid=dev.zed.Zed
......@@ -52,7 +50,6 @@ prepare() {
export APP_CLI="$_binname"
export APP_ID="$_appid"
envsubst < "crates/zed/resources/zed.desktop.in" > $_appid.desktop
patch -p0 -i ../use-lib-not-libexec.patch
}
_srcenv() {
......
--- crates/cli/src/main.rs-orig 2024-06-13 12:38:14.826892974 +0300
+++ crates/cli/src/main.rs 2024-06-13 12:39:16.980401842 +0300
@@ -194,7 +194,12 @@
.and_then(Path::parent)
.ok_or_else(|| anyhow!("no parent path for cli"))?;
- match dir.join("libexec").join("zed-editor").canonicalize() {
+ match dir
+ .join("lib")
+ .join("zed")
+ .join("zed-editor")
+ .canonicalize()
+ {
Ok(path) => Ok(path),
// In development cli and zed are in the ./target/ directory together
Err(e) => match cli.parent().unwrap().join("zed").canonicalize() {
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment