Package Details: zed-editor-preview-bin 0.138.3-1

Git Clone URL: https://aur.archlinux.org/zed-editor-preview-bin.git (read-only, click to copy)
Package Base: zed-editor-preview-bin
Description: A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (binary package)
Upstream URL: https://github.com/zed-industries/zed
Keywords: zed
Licenses: GPL3
Conflicts: zed-editor
Provides: zed-editor
Submitter: paradoxxxzero
Maintainer: paradoxxxzero
Last Packager: paradoxxxzero
Votes: 3
Popularity: 2.43
First Submitted: 2024-05-13 08:16 (UTC)
Last Updated: 2024-05-31 16:33 (UTC)

Latest Comments

paradoxxxzero commented on 2024-05-31 20:58 (UTC)

Oh nice, this probably make this package obsolete.

The main reason for this package was that building zed from source was a bit much for an old laptop.

alerque commented on 2024-05-31 20:29 (UTC)

I've moved the old zed package in the AUR out of the way (to zq) and migrated zed-editor to [extra]/zed. I've also renamed zed-editor-preview to zed-preview and zed-editor-git to zed-git. Why ya'll think you need an upstream binary build is beyond me but this should be renamed to zed-preview-bin.

paradoxxxzero commented on 2024-05-31 16:31 (UTC)

I updated the update script to directly parse github releases, the website does not seem to be up to date for linux builds.

paradoxxxzero commented on 2024-05-27 07:00 (UTC)

Yes indeed, there's a name conflict with zfsutils ZFS Event Daemon (zed).

I am waiting for upstream discussion before manually renaming the executable.

Upstream discussion: https://github.com/zed-industries/zed/issues/12306

dpvpro commented on 2024-05-25 19:00 (UTC)

~> yay -S linux69-zfs linux66-zfs                                                                                                                                                                                                                            21:59:02
resolving dependencies...
looking for conflicting packages...

Packages (3) zfs-utils-2.2.4-1  linux66-zfs-2.2.4-5  linux69-zfs-2.2.4-4

Total Download Size:   33.58 MiB
Total Installed Size:  45.47 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 zfs-utils-2.2.4-1-x86_64                                                                                                                 29.6 MiB  8.23 MiB/s 00:04 [######################################################################################################] 100%
 linux66-zfs-2.2.4-5-x86_64                                                                                                             2030.7 KiB  4.96 MiB/s 00:00 [######################################################################################################] 100%
 linux69-zfs-2.2.4-4-x86_64                                                                                                             2023.6 KiB  4.66 MiB/s 00:00 [######################################################################################################] 100%
 Total (3/3)                                                                                                                              33.6 MiB  7.33 MiB/s 00:05 [######################################################################################################] 100%
(3/3) checking keys in keyring                                                                                                                                       [######################################################################################################] 100%
(3/3) checking package integrity                                                                                                                                     [######################################################################################################] 100%
(3/3) loading package files                                                                                                                                          [######################################################################################################] 100%
(3/3) checking for file conflicts                                                                                                                                    [######################################################################################################] 100%
error: failed to commit transaction (conflicting files)
zfs-utils: /usr/bin/zed exists in filesystem (owned by zed-editor-preview-bin)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

ZorinArch commented on 2024-05-23 10:26 (UTC) (edited on 2024-05-23 10:51 (UTC) by ZorinArch)

I forgot to add the SHA sum again, I skip it while testing. You do not have to add permissions, copy folder content will do the job for you. Try my PKGBUILD and you will get the same result.

paradoxxxzero commented on 2024-05-23 07:22 (UTC)

@ZorinArch Thanks for the suggestion, I included the options.

Though I don't understand why skipping sha sums could be an improvement, as well as not using install to set permission on executable. Could you provide some insight?

ZorinArch commented on 2024-05-23 03:29 (UTC) (edited on 2024-05-23 03:29 (UTC) by ZorinArch)

Hi paradoxxxzero,

This is an enhancement PKGBUILD you can use it.

_pkgname=zed-editor-preview
pkgname=$_pkgname-bin
pkgver=0.137.0
pkgrel=1
pkgdesc="A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (binary package)"
arch=('x86_64')
url="https://github.com/zed-industries/zed"
license=('GPL3')
depends=("alsa-lib" "gcc-libs" "glibc" "libxau" "libxcb" "libxdmcp" "libxkbcommon" "libxkbcommon-x11" "zlib")
_filename="zed-linux-${CARCH}.tar.gz"
_appdir="zed-preview.app"
source=("$pkgname-$pkgver.tar.gz::https://zed.dev/api/releases/preview/${pkgver}/${_filename}")
sha256sums=('SKIP')
provides=(zed-editor)
conflicts=(zed-editor)
options=(!strip emptydirs !debug)

package() {
  tar -xv -f "$srcdir/$pkgname-$pkgver.tar.gz"
  mkdir -p "$pkgdir/usr/"{bin,share}
  cd "${_appdir}"
  cp -r bin/ "$pkgdir/usr"
  cp -r share/ "$pkgdir/usr"
}