Package Details: sublime-text-4-dev 4.4093-1

Git Clone URL: https://aur.archlinux.org/sublime-text-4-dev.git (read-only, click to copy)
Package Base: sublime-text-4-dev
Description: Sophisticated text editor for code, html and prose - dev build
Upstream URL: http://www.sublimetext.com/
Licenses: custom
Conflicts: sublime-text
Submitter: edub4rt
Maintainer: edub4rt
Last Packager: edub4rt
Votes: 11
Popularity: 3.39
First Submitted: 2019-12-23 23:55
Last Updated: 2020-11-19 09:22

Latest Comments

bergalath commented on 2020-11-17 11:10

Hi there !

@edubart, It seems that the .SRCINFO file with the new version (4.4092) ~~is missing~~ has not been updated.

We still have the 4.4090 on aur updates …

Thx

flipee commented on 2020-10-24 16:14

There's no need to do these tricks to add support for other architectures. They can be added by appending an underscore and the architecture name, e.g. source_x86_64=(); sha256sums_x86_64().

edub4rt commented on 2020-09-23 16:50

Support for aarch64 was added using SKIP on sha256sums as suggested. But I am unable to test if it works on aarch64, if doesn't add a comment with possible fix.

techknowlogick commented on 2020-09-23 01:34

The following patch would allow aarch64 support

Note: The checksums will now need to be inside the switch case, assuming you don't have an aarch64 system to test on, you can leave it as SKIP

diff --git a/PKGBUILD b/PKGBUILD
index 632fdc5..3ad0e99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,24 @@ pkgname=sublime-text-4-dev
 pkgver=4.4086
 pkgrel=1
 pkgdesc="Sophisticated text editor for code, html and prose - dev build"
-arch=('x86_64')
+arch=('aarch64' 'x86_64')
 url="http://www.sublimetext.com/"
 license=('custom')
 depends=('libpng' 'gtk3')
 conflicts=('sublime-text')
 optdepends=('gksu: sudo-save support')
 install=sublime-text.install
+
+case "${CARCH}" in
+  x86_64)    _CARCH='x64'    && sha256sums=('388d1fe620727bd3e6bdda7b60150734616d8ba86ef1001478d0a41d1718c018'
+  'a400ae041bd8b3ed08bf04129e1d7ddc9df9edf5610532bd7b321a43e28c7ca9'
+  'ff58895daf5e4ee8c0b2f6c08fd272d6a2c8ed353689b39668436794a92bf504');;
+  aarch64)   _CARCH='arm64'  && sha256sums=('SKIP' 'SKIP' 'SKIP');;
+esac
+
 source=("sublime-text.install"
         "sublime_text.desktop"
-        "https://download.sublimetext.com/sublime_text_build_${pkgver:2}_x64.tar.xz")
-sha256sums=('388d1fe620727bd3e6bdda7b60150734616d8ba86ef1001478d0a41d1718c018'
-            'a400ae041bd8b3ed08bf04129e1d7ddc9df9edf5610532bd7b321a43e28c7ca9'
-            'ff58895daf5e4ee8c0b2f6c08fd272d6a2c8ed353689b39668436794a92bf504')
+        "https://download.sublimetext.com/sublime_text_build_${pkgver:2}_${_CARCH}.tar.xz")

 package() {
   cd "${srcdir}"

appelgriebsch commented on 2020-08-09 17:44

Can we add the aarch64 binary to the package?

https://download.sublimetext.com/sublime_text_build_4081_arm64.tar.xz sha256: 5bf2096d451d55cca3e0b03c0a101aab2cf3d0df1c24d0e562ae1a72c21dcac1

yurikoles commented on 2020-05-22 08:22

@markoff

In my case existing ST3 license picked-up after upgrade, but I didn't try this with a clean profile.

markoff commented on 2020-05-17 19:44

Should a license that works for ST3 also work for ST4? Because mine is not working. After copying it to the ST4 window that pops up, nothing happens..

yurikoles commented on 2020-02-28 05:23

Please remove i686 from arch.

edub4rt commented on 2019-12-23 23:57

NOTE: This is not the dev build from the site, but from announcements in the Sublime Text Discord channel