Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / zed
Commits:
33dcdb54 by Aleksey Smirnov at 2024-06-29T11:03:07+03:00
Use app id as desktop file name, closes #1
- - - - -
145fc4a8 by Caleb Maclennan at 2024-06-29T13:16:16+03:00
upgpkg: 0.141.3-2: Rebuild with updated desktop file
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = zed
pkgdesc = A high-performance, multiplayer code editor from the creators
of Atom and Tree-sitter
pkgver = 0.141.3
- pkgrel = 1
+ pkgrel = 2
url = https://zed.dev
arch = x86_64
license = GPL-3.0-or-later
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=zed
pkgver=0.141.3
-pkgrel=1
+pkgrel=2
pkgdesc='A high-performance, multiplayer code editor from the creators of Atom
and Tree-sitter'
arch=(x86_64)
url=https://zed.dev
@@ -41,6 +41,7 @@
sha256sums=('83f149abfbf85ba6ba8aef93026b7ad4216efda1c053abbf227146b2b2eb72e9'
'180f8f84cd4320a758225ccb016cd6fc46146f1e7ba6d2c3b75decee8b89989d')
_binname=zeditor
+_appid=dev.zed.Zed
prepare() {
cd "$_archive"
@@ -49,7 +50,8 @@ prepare() {
export APP_ICON="zed"
export APP_NAME="Zed"
export APP_CLI="$_binname"
- envsubst < "crates/zed/resources/zed.desktop.in" > zed.desktop
+ export APP_ID="$_appid"
+ envsubst < "crates/zed/resources/zed.desktop.in" > $_appid.desktop
patch -p0 -i ../use-lib-not-libexec.patch
}
@@ -78,6 +80,6 @@ package() {
cd "$_archive"
install -Dm0755 target/release/cli "$pkgdir/usr/bin/$_binname"
install -Dm0755 target/release/zed "$pkgdir/usr/lib/$pkgname/zed-editor"
- install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
+ install -Dm0644 -t "$pkgdir/usr/share/applications/" "$_appid.desktop"
install -Dm0644 crates/zed/resources/app-icon.png
"$pkgdir/usr/share/icons/$pkgname.png"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/zed/-/compare/fe8c3489abe38eb63a6064d07c087bbadfa9725a...145fc4a856cfda26924a45661db7298671c8f795
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/zed/-/compare/fe8c3489abe38eb63a6064d07c087bbadfa9725a...145fc4a856cfda26924a45661db7298671c8f795
You're receiving this email because of your account on gitlab.archlinux.org.