Package Details: sublime-text-4 4.4180-1

Git Clone URL: https://aur.archlinux.org/sublime-text-4.git (read-only, click to copy)
Package Base: sublime-text-4
Description: Sophisticated text editor for code, html and prose - stable build
Upstream URL: https://www.sublimetext.com/download
Licenses: custom
Conflicts: sublime-text
Provides: sublime-text
Submitter: SunRed
Maintainer: SunRed
Last Packager: SunRed
Votes: 82
Popularity: 1.96
First Submitted: 2021-05-21 11:53 (UTC)
Last Updated: 2024-08-06 19:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

SunRed commented on 2021-12-23 11:55 (UTC)

What exactly is the issue here now? Sorry I didn't manage to update the package within a day. The package name 'sublime-text' is used for the official package already and hence will be removed if you submit it to the AUR.

ak4nv commented on 2021-12-23 06:44 (UTC) (edited on 2021-12-23 06:45 (UTC) by ak4nv)

@zizzo You can make a new one and name it sublime-text or sublime-text-hq

zizzo commented on 2021-12-22 00:19 (UTC) (edited on 2021-12-22 00:19 (UTC) by zizzo)

Hi Manuel,

I will take over maintaining this if you'd like to transfer to me.

For others, here's a PKGBUILD that will work for you. It's just a matter of updating $pkgver and updating the sha256sums.

# Maintainer: Manuel Hüsers <aur@huesers.de>
# Maintainer: Alexander Zizzo <zizzo(dot)alexander(at)gmail(dot)com>

pkgname=sublime-text-4
pkgver=4.4126
pkgrel=1
pkgdesc="Sophisticated text editor for code, html and prose - stable build"
arch=('x86_64' 'aarch64')
url="https://www.sublimetext.com/download"
license=('custom')
depends=('libpng' 'gtk3')
optdepends=('gksu: sudo-save support')
conflicts=('sublime-text')
provides=('sublime-text')
install=${pkgname}.install

source=('sublime_text.desktop')
source_x86_64=("https://download.sublimetext.com/sublime_text_build_${pkgver:2}_x64.tar.xz")
source_aarch64=("https://download.sublimetext.com/sublime_text_build_${pkgver:2}_arm64.tar.xz")

sha256sums=('e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf')
sha256sums_x86_64=('5c64e534cce0032e54d3c7028e8d6b3bdef28f3fd28a26244a360a2ce75450a1')
sha256sums_aarch64=('0ad4ac168d47034c47ab31faaa0d8b6b4f27e233ea4e48634b930bf999efb63e')

package() {
  cd "${srcdir}"

  install -dm755 "${pkgdir}/opt"
  cp --preserve=mode -r "sublime_text" "${pkgdir}/opt/sublime_text"

  for res in 128x128 16x16 256x256 32x32 48x48; do
    install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps"
    ln -s "/opt/sublime_text/Icon/${res}/sublime-text.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/sublime-text.png"
  done

  install -dm755 "${pkgdir}/usr/share/applications"
  install -Dm644 "sublime_text.desktop" "${pkgdir}/usr/share/applications/sublime_text.desktop"

  install -dm755 "${pkgdir}/usr/bin"
  ln -s "/opt/sublime_text/sublime_text" "${pkgdir}/usr/bin/subl"
}

earlybird commented on 2021-10-26 05:23 (UTC)

Can you update the PKGBUILD? Build 4121 26 October 2021

NullRoute commented on 2021-10-04 00:46 (UTC) (edited on 2021-10-04 00:48 (UTC) by NullRoute)

Please remove "conflicts=('sublime-text')" in PKGBUILD. ST3 and ST4 runs very well together. Its even official in docs @ https://www.sublimetext.com/docs/side_by_side.html Just make sure to install binary file to subl (ST4) and subl3 (ST3) Many people run at least two different versions O_o

uriid1 commented on 2021-08-03 10:13 (UTC)

@SunRed When I tried to build this package, I got an error that the icon files already exist. I have Sublime Text 3 installed.

I deleted it from PKGBUILD: - - for rest in 128x128 16x16 256x256 32x32 48x48; up to - install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps" - ln -s "/opt/sublime_text/Icon/${res}/sublime-text.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/sublime-text.png" - done

And it helped to establish. I think it's worth adding a check for the presence of icons.

SunRed commented on 2021-07-15 12:28 (UTC)

@marcospb19 I wasn't aware of this feature in yay despite me using it as well or rather that people use it in this way. I've set conflicts/provides only as a means for dependencies to be resolved so that this package can be used instead of the official package in place and possible packages that depend on this to have a working dependency. And hence that is only the case for the actual sublime-text package and nothing more. With a possible 'sublime' package this could lead to problems and confusion imo.

marcospb19 commented on 2021-07-14 18:31 (UTC)

Hey, do you think that this package should provide "sublime" in addition to the already provided "sublime-text"? I added both to aur/sublime-text-3, so people can install it by typing yay -S sublime.

I was thinking about removing "sublime" from the provided list for the ST3 package, but wanted to ask first, what do you think? (this one is more recent, so I don't want people downloading older versions accidentally).

heyhusen commented on 2021-05-30 11:36 (UTC)

@SunRed Oh, right. Sorry.

SunRed commented on 2021-05-29 18:02 (UTC)

@hapakaien No, this is done on purpose to not be in conflict with the official repos provided by Sublime Text.