@markoff
For Sublime Text 4 Dev you need a Sublime Text 3 Dev license. Regular Sublime 3 Text licenses do not work.
Git Clone URL: | https://aur.archlinux.org/sublime-text-dev.git (read-only, click to copy) |
---|---|
Package Base: | sublime-text-dev |
Description: | Sophisticated text editor for code, html and prose - dev build |
Upstream URL: | https://www.sublimetext.com/dev |
Licenses: | custom |
Conflicts: | sublime-text |
Provides: | sublime-text |
Submitter: | realitygaps |
Maintainer: | SunRed (edub4rt) |
Last Packager: | SunRed |
Votes: | 517 |
Popularity: | 0.96 |
First Submitted: | 2011-11-10 18:32 (UTC) |
Last Updated: | 2024-05-07 17:01 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 22 Next › Last »
@markoff
For Sublime Text 4 Dev you need a Sublime Text 3 Dev license. Regular Sublime 3 Text licenses do not work.
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
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().
This package should be renamed to sublime-text-3-dev
, to be consistent with sublime-text-3
and sublime-text-4-dev
.
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.
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}"
Can we add the aarch64 binary to the package?
https://download.sublimetext.com/sublime_text_build_4081_arm64.tar.xz sha256: 5bf2096d451d55cca3e0b03c0a101aab2cf3d0df1c24d0e562ae1a72c21dcac1
@markoff
In my case existing ST3 license picked-up after upgrade, but I didn't try this with a clean profile.
Pinned Comments
SunRed commented on 2022-02-20 11:30 (UTC)
Please note that the dev branch of this software requires a license to be purchased from the website. If you want to support this software, please consider doing so.
You can use the stable branch available at sublime-text-4 or the official package for free.
SunRed commented on 2021-05-21 13:04 (UTC)
To cut down the amount of packages to be maintained and to decrease confusion, this package is now used for the 'dev' branch of Sublime Text that is kept up to date with the most recent version. Users who want to stay on the latest legacy versions or the most recent stable release should stick to the respective stable release packages (sublime-text-3, sublime-text-4) or use the official repos provided by Sublime Text.