Compare commits

...

34 commits

Author SHA1 Message Date
2d8d29f470 upgpkg: sublime-text-dev 4.4183-1
upstream release
2024-09-29 20:58:06 +02:00
decd3bb57d upgpkg: sublime-text-dev 4.4180-1
upstream release
2024-08-06 20:48:47 +02:00
8fc27501e6 upgpkg: sublime-text-dev 4.4178-1
upstream release
2024-08-03 18:48:00 +02:00
818f276ede upgpkg: sublime-text-dev 4.4177-1
upstream release
2024-07-16 23:16:32 +02:00
2fc9fda538 upgpkg: sublime-text-dev 4.4175-1
upstream release
2024-05-07 18:59:31 +02:00
48cd1fc959 upgpkg: sublime-text-dev 4.4173-2
Fix title bar icon by using a launcher script instead of symlink
2024-04-08 22:43:02 +02:00
1f865aaec4 upgpkg: sublime-text-dev 4.4173-1
upstream release
2024-02-27 19:44:00 +01:00
fe3a0ccbc6 upgpkg: sublime-text-dev 4.4172-1
upstream release
2024-02-22 07:02:00 +01:00
c748c0a126 upgpkg: sublime-text-dev 4.4171-1
upstream release
2024-02-21 09:46:00 +01:00
510be1e84c upgpkg: sublime-text-dev 4.4169-1
upstream release
2023-11-23 23:31:16 +01:00
f0c5c930c4 upgpkg: sublime-text-dev 4.4168-1
upstream release
2023-11-23 22:16:42 +01:00
a7ed6ad3ff upgpkg: sublime-text-dev 4.4166-1
upstream release
2023-11-20 18:57:55 +01:00
c75b07546b upgpkg: sublime-text-dev 4.4165-1
upstream release
2023-11-16 18:56:20 +01:00
4338e18ab6 upgpkg: sublime-text-dev 4.4164-1
upstream release
2023-11-08 17:08:22 +01:00
63e3f1d39d upgpkg: sublime-text-dev 4.4160-1
upstream release
2023-10-24 09:09:06 +02:00
1353578b27 upgpkg: sublime-text-dev 4.4159-1
upstream release
2023-10-20 11:01:59 +02:00
54a0696ac7 upgpkg: sublime-text-dev 4.4156-1
upstream release
2023-09-18 23:51:04 +02:00
01c7704848 upgpkg: sublime-text-dev 4.4155-1
upstream release
2023-08-26 18:56:00 +02:00
b56184a3dc upgpkg: sublime-text-dev 4.4154-1
upstream release
2023-08-08 18:41:16 +02:00
625af080b9 sublime-text-dev: Rename source files, Use sha512 2023-08-07 17:43:41 +02:00
8fbb14c9f1 upgpkg: sublime-text-dev 4.4150-1
upstream release
2023-05-13 23:06:23 +02:00
336c2091a9 upgpkg: sublime-text-dev 4.4149-1
upstream release
2023-05-04 20:58:19 +02:00
aa6764ecdd upgpkg: sublime-text-dev 4.4148-1
upstream release
2023-03-15 19:04:40 +01:00
60ce0a8dc8 upgpkg: sublime-text-dev 4.4147-1
upstream release
2022-12-22 17:53:06 +01:00
6d42bbcc39 upgpkg: sublime-text-dev 4.4146-1
upstream release
2022-12-15 13:00:07 +01:00
cb51ccde28 upgpkg: sublime-text-dev 4.4145-1
upstream release
2022-12-14 10:08:07 +01:00
c36ec501b2 upgpkg: sublime-text-dev 4.4144-4 2022-12-14 08:08:55 +01:00
c9a0c85795 upgpkg: sublime-text-dev 4.4141-4
Use correct name for WMClass in desktop file
2022-12-12 12:02:48 +01:00
495a213f3e upgpkg: sublime-text-dev 4.4141-3
Added GNOME specific StartupWMClass option back to desktop file
Removed desktop file from /opt/sublime_text directory
2022-12-10 09:58:54 +01:00
8fc536c1b7 Update indentation and formatting 2022-11-15 17:34:12 +01:00
ff94285c6b upgpkg: sublime-text-dev 4.4141-2
Update formatting
Use included desktop file
Remove obsolete optdepends
2022-11-15 17:24:05 +01:00
772a7edcfa upgpkg: sublime-text-dev 4.4141-1
upstream release
2022-11-10 17:41:24 +01:00
efacae5c95 upgpkg: sublime-text-dev 4.4140-1
upstream release
2022-10-31 22:44:10 +01:00
4812b6a7e4 upgpkg: sublime-text-dev 4.4139-1
upstream release
2022-10-28 12:39:51 +02:00
4 changed files with 36 additions and 54 deletions

View file

@ -1,6 +1,6 @@
pkgbase = sublime-text-dev
pkgdesc = Sophisticated text editor for code, html and prose - dev build
pkgver = 4.4138
pkgver = 4.4183
pkgrel = 1
url = https://www.sublimetext.com/dev
install = sublime-text-dev.install
@ -9,14 +9,13 @@ pkgbase = sublime-text-dev
license = custom
depends = libpng
depends = gtk3
optdepends = gksu: sudo-save support
provides = sublime-text
conflicts = sublime-text
source = sublime_text.desktop
sha256sums = e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf
source_x86_64 = https://download.sublimetext.com/sublime_text_build_4138_x64.tar.xz
sha256sums_x86_64 = 0c1c5660ed8b39ed7409d13879b87627d03ec29f2782f71e5791ae4bbe1350b7
source_aarch64 = https://download.sublimetext.com/sublime_text_build_4138_arm64.tar.xz
sha256sums_aarch64 = def23facff20b497631726a8aeb1b3a572c2a8abd9a2179b639f56af74feb581
source = sublime-text-dev.sh
sha512sums = ac56e9b7dddaebb3d222795cfc644109c93cc3f79695b8f9ee56022c74fe04a1134dd54cab07c74ff1f96b783cb3dbc026c16095552f1d2dd83115ea274dc2e9
source_x86_64 = sublime_text_dev_4_4183_1_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_4183_x64.tar.xz
sha512sums_x86_64 = f7218a7486b22937618e9eaa20fbc4d47d8d58a5bdef1579c1bd68aeca147c3195c34b988675d317c00c2be529e56c5e2ff01b5a9f64f9755e1d6bd89f5b21f0
source_aarch64 = sublime_text_dev_4_4183_1_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_4183_arm64.tar.xz
sha512sums_aarch64 = 329a54202c5837832f5666de8e32de53b80fbb61e3c1fcd424e12de8d793c5ddb7f1179053a0d60f19882895c24445f38c64f758dc2ca953d646e0dc19ea626a
pkgname = sublime-text-dev

View file

@ -3,40 +3,44 @@
# Contributor: realitygaps <realitygaps at yahoo dot com>
pkgname=sublime-text-dev
pkgver=4.4138
pkgver=4.4183
pkgrel=1
pkgdesc="Sophisticated text editor for code, html and prose - dev build"
pkgdesc='Sophisticated text editor for code, html and prose - dev build'
arch=('x86_64' 'aarch64')
url="https://www.sublimetext.com/dev"
url='https://www.sublimetext.com/dev'
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")
source=("${pkgname}.sh")
source_x86_64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_x64.tar.xz")
source_aarch64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_arm64.tar.xz")
sha256sums=('e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf')
sha256sums_x86_64=('0c1c5660ed8b39ed7409d13879b87627d03ec29f2782f71e5791ae4bbe1350b7')
sha256sums_aarch64=('def23facff20b497631726a8aeb1b3a572c2a8abd9a2179b639f56af74feb581')
sha512sums=('ac56e9b7dddaebb3d222795cfc644109c93cc3f79695b8f9ee56022c74fe04a1134dd54cab07c74ff1f96b783cb3dbc026c16095552f1d2dd83115ea274dc2e9')
sha512sums_x86_64=('f7218a7486b22937618e9eaa20fbc4d47d8d58a5bdef1579c1bd68aeca147c3195c34b988675d317c00c2be529e56c5e2ff01b5a9f64f9755e1d6bd89f5b21f0')
sha512sums_aarch64=('329a54202c5837832f5666de8e32de53b80fbb61e3c1fcd424e12de8d793c5ddb7f1179053a0d60f19882895c24445f38c64f758dc2ca953d646e0dc19ea626a')
prepare() {
sed -i -e "s|@ST_PATH@|/opt/sublime_text|g" "${pkgname}.sh"
sed -i -e 's#/opt/sublime_text/sublime_text#/usr/bin/subl#g' 'sublime_text/sublime_text.desktop'
sed -i -e '\#^StartupNotify=#a StartupWMClass=subl' 'sublime_text/sublime_text.desktop'
}
package() {
cd "${srcdir}"
install -dm755 "${pkgdir}/opt"
cp --preserve=mode -r 'sublime_text' "${pkgdir}/opt/sublime_text"
rm -f "${pkgdir}/opt/sublime_text/sublime_text.desktop"
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
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/sublime_text.desktop' "${pkgdir}/usr/share/applications/sublime_text.desktop"
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"
install -dm755 "${pkgdir}/usr/bin"
install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/subl"
}

3
sublime-text-dev.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec @ST_PATH@/sublime_text "$@"

View file

@ -1,24 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=subl %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;
StartupNotify=true
StartupWMClass=subl
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=subl -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=subl --command new_file
OnlyShowIn=Unity;