From 76e247104bb3b827960da82460e6d66863f47ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Fri, 21 May 2021 13:28:04 +0200 Subject: [PATCH] Update to build 4107 --- .SRCINFO | 22 ++++++------- PKGBUILD | 33 ++++++++++--------- ...ime_text_3.desktop => sublime_text.desktop | 10 +++--- 3 files changed, 33 insertions(+), 32 deletions(-) rename sublime_text_3.desktop => sublime_text.desktop (78%) diff --git a/.SRCINFO b/.SRCINFO index 5503b35..14e5dd5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,23 @@ pkgbase = sublime-text-dev pkgdesc = Sophisticated text editor for code, html and prose - dev build - pkgver = 3.3211 + pkgver = 4.4107 pkgrel = 1 - url = http://www.sublimetext.com/3 + url = http://www.sublimetext.com/ install = sublime-text-dev.install - arch = i686 arch = x86_64 + arch = aarch64 license = custom depends = libpng depends = gtk3 optdepends = gksu: sudo-save support - provides = sublime-text-nightly - conflicts = sublime-text-nightly - source = sublime_text_3.desktop - sha256sums = f355c6bec64e962a5735d0a7d1e11ac39b5b82aacaaf23b222c0bc202e15d866 - source_i686 = https://download.sublimetext.com/sublime_text_3_build_3211_x32.tar.bz2 - sha256sums_i686 = 480609962bbbd12128b5332c7831372b8851c13e160512730d1b0a6a835a3071 - source_x86_64 = https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2 - sha256sums_x86_64 = 0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee + provides = sublime-text + conflicts = sublime-text + source = sublime_text.desktop + sha256sums = e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf + source_x86_64 = https://download.sublimetext.com/sublime_text_build_4107_x64.tar.xz + sha256sums_x86_64 = c7d9e7520ea91c2db6c026d1f48e9067457d55158393be042100a1161a3e5915 + source_aarch64 = https://download.sublimetext.com/sublime_text_build_4107_arm64.tar.xz + sha256sums_aarch64 = e0ccf0859d7b73a718b65c0f03e48189ecba1a256bb800d738b24078994cae03 pkgname = sublime-text-dev diff --git a/PKGBUILD b/PKGBUILD index 854f4c3..969284b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,41 +1,42 @@ -# Maintainer: Sander Boom +# Maintainer: Manuel Hüsers +# Contributor: Sander Boom # Contributor: realitygaps pkgname=sublime-text-dev -pkgver=3.3211 +pkgver=4.4107 pkgrel=1 pkgdesc="Sophisticated text editor for code, html and prose - dev build" -arch=('i686' 'x86_64') -url="http://www.sublimetext.com/3" +arch=('x86_64' 'aarch64') +url="http://www.sublimetext.com/" license=('custom') depends=('libpng' 'gtk3') optdepends=('gksu: sudo-save support') -conflicts=('sublime-text-nightly') -provides=('sublime-text-nightly') +conflicts=('sublime-text') +provides=('sublime-text') install=${pkgname}.install -source=('sublime_text_3.desktop') -source_i686=("https://download.sublimetext.com/sublime_text_3_build_${pkgver:2}_x32.tar.bz2") -source_x86_64=("https://download.sublimetext.com/sublime_text_3_build_${pkgver:2}_x64.tar.bz2") +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=('f355c6bec64e962a5735d0a7d1e11ac39b5b82aacaaf23b222c0bc202e15d866') -sha256sums_i686=('480609962bbbd12128b5332c7831372b8851c13e160512730d1b0a6a835a3071') -sha256sums_x86_64=('0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee') +sha256sums=('e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf') +sha256sums_x86_64=('c7d9e7520ea91c2db6c026d1f48e9067457d55158393be042100a1161a3e5915') +sha256sums_aarch64=('e0ccf0859d7b73a718b65c0f03e48189ecba1a256bb800d738b24078994cae03') package() { cd "${srcdir}" install -dm755 "${pkgdir}/opt" - cp --preserve=mode -r "sublime_text_3" "${pkgdir}/opt/sublime_text_3" + 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_3/Icon/${res}/sublime-text.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/sublime-text.png" + 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_3.desktop" "${pkgdir}/usr/share/applications/sublime_text_3.desktop" + install -Dm644 "sublime_text.desktop" "${pkgdir}/usr/share/applications/sublime_text.desktop" install -dm755 "${pkgdir}/usr/bin" - ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl3" + ln -s "/opt/sublime_text/sublime_text" "${pkgdir}/usr/bin/subl" } diff --git a/sublime_text_3.desktop b/sublime_text.desktop similarity index 78% rename from sublime_text_3.desktop rename to sublime_text.desktop index 81c347c..f678850 100644 --- a/sublime_text_3.desktop +++ b/sublime_text.desktop @@ -1,24 +1,24 @@ [Desktop Entry] Version=1.0 Type=Application -Name=Sublime Text 3 Dev +Name=Sublime Text GenericName=Text Editor Comment=Sophisticated text editor for code, markup and prose -Exec=subl3 %F +Exec=subl %F Terminal=false MimeType=text/plain; Icon=sublime-text Categories=TextEditor;Development; StartupNotify=true -StartupWMClass=subl3 +StartupWMClass=subl Actions=Window;Document; [Desktop Action Window] Name=New Window -Exec=subl3 -n +Exec=subl -n OnlyShowIn=Unity; [Desktop Action Document] Name=New File -Exec=subl3 --command new_file +Exec=subl --command new_file OnlyShowIn=Unity;