Compare commits
30 Commits
main
...
packages/s
Author | SHA1 | Date |
---|---|---|
Manuel | 2fc9fda538 | |
Manuel | 48cd1fc959 | |
Manuel | 1f865aaec4 | |
Manuel | fe3a0ccbc6 | |
Manuel | c748c0a126 | |
Manuel | 510be1e84c | |
Manuel | f0c5c930c4 | |
Manuel | a7ed6ad3ff | |
Manuel | c75b07546b | |
Manuel | 4338e18ab6 | |
Manuel | 63e3f1d39d | |
Manuel | 1353578b27 | |
Manuel | 54a0696ac7 | |
Manuel | 01c7704848 | |
Manuel | b56184a3dc | |
Manuel | 625af080b9 | |
Manuel | 8fbb14c9f1 | |
Manuel | 336c2091a9 | |
Manuel | aa6764ecdd | |
Manuel | 60ce0a8dc8 | |
Manuel | 6d42bbcc39 | |
Manuel | cb51ccde28 | |
Manuel | c36ec501b2 | |
Manuel | c9a0c85795 | |
Manuel | 495a213f3e | |
Manuel | 8fc536c1b7 | |
Manuel | ff94285c6b | |
Manuel | 772a7edcfa | |
Manuel | efacae5c95 | |
Manuel | 4812b6a7e4 |
15
.SRCINFO
15
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = sublime-text-dev
|
||||
pkgdesc = Sophisticated text editor for code, html and prose - dev build
|
||||
pkgver = 4.4138
|
||||
pkgver = 4.4175
|
||||
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_4175_1_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_4175_x64.tar.xz
|
||||
sha512sums_x86_64 = 7ffc30c53dbdb40fe12bdccce03fe522a569ae3c9a43241f9392067b19377e58e2ca49179c0b1c4a3b210913efbcb5b6c1729f7521b07eaceecf637aa8e333b5
|
||||
source_aarch64 = sublime_text_dev_4_4175_1_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_4175_arm64.tar.xz
|
||||
sha512sums_aarch64 = dfb228c13e76febf73d121c822faa8a48cb63185d7269aa68cd7e69d7c9e2efd2566b87ea3e61b1556862734758edfa2e2a77649e28aed130bf179f07b01c989
|
||||
|
||||
pkgname = sublime-text-dev
|
||||
|
|
48
PKGBUILD
48
PKGBUILD
|
@ -3,40 +3,44 @@
|
|||
# Contributor: realitygaps <realitygaps at yahoo dot com>
|
||||
|
||||
pkgname=sublime-text-dev
|
||||
pkgver=4.4138
|
||||
pkgver=4.4175
|
||||
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=('7ffc30c53dbdb40fe12bdccce03fe522a569ae3c9a43241f9392067b19377e58e2ca49179c0b1c4a3b210913efbcb5b6c1729f7521b07eaceecf637aa8e333b5')
|
||||
sha512sums_aarch64=('dfb228c13e76febf73d121c822faa8a48cb63185d7269aa68cd7e69d7c9e2efd2566b87ea3e61b1556862734758edfa2e2a77649e28aed130bf179f07b01c989')
|
||||
|
||||
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"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec @ST_PATH@/sublime_text "$@"
|
|
@ -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;
|
Loading…
Reference in New Issue