Package Details: sublime-text-4 4.4126-1

Git Clone URL: (read-only, click to copy)
Package Base: sublime-text-4
Description: Sophisticated text editor for code, html and prose - stable build
Upstream URL:
Licenses: custom
Conflicts: sublime-text
Provides: sublime-text
Submitter: SunRed
Maintainer: SunRed
Last Packager: SunRed
Votes: 29
Popularity: 2.64
First Submitted: 2021-05-21 11:53
Last Updated: 2021-12-23 11:52

Latest Comments

1 2 Next › Last »

SunRed commented on 2021-12-23 11:55

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

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

zizzo commented on 2021-12-22 00:19

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 <>
# Maintainer: Alexander Zizzo <zizzo(dot)alexander(at)gmail(dot)com>

pkgdesc="Sophisticated text editor for code, html and prose - stable build"
arch=('x86_64' 'aarch64')
depends=('libpng' 'gtk3')
optdepends=('gksu: sudo-save support')



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"

  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

Can you update the PKGBUILD? Build 4121 26 October 2021

NullRoute commented on 2021-10-04 00:46

Please remove "conflicts=('sublime-text')" in PKGBUILD. ST3 and ST4 runs very well together. Its even official in docs @ 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

@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

@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

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).

hapakaien commented on 2021-05-30 11:36

@SunRed Oh, right. Sorry.

SunRed commented on 2021-05-29 18:02

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