Add 'sublime-text-3/' from commit '43b10975f352ea4425d2d3b5e83066e635806259'
git-subtree-dir: sublime-text-3 git-subtree-mainline:ec7b51fcdd
git-subtree-split:43b10975f3
This commit is contained in:
commit
74901c28cb
4 changed files with 95 additions and 0 deletions
24
sublime-text-3/.SRCINFO
Normal file
24
sublime-text-3/.SRCINFO
Normal file
|
@ -0,0 +1,24 @@
|
|||
pkgbase = sublime-text-3
|
||||
pkgdesc = Sophisticated text editor for code, html and prose - stable build
|
||||
pkgver = 3.3211
|
||||
pkgrel = 1
|
||||
url = https://www.sublimetext.com/3
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = libpng
|
||||
depends = gtk2
|
||||
provides = sublime-text
|
||||
conflicts = sublime-text-4-dev
|
||||
conflicts = sublime-text-4
|
||||
conflicts = sublime-text-3-imfix
|
||||
conflicts = sublime-text-imfix
|
||||
conflicts = sublime-text-nightly
|
||||
conflicts = sublime-text-dev
|
||||
conflicts = sublime-text2
|
||||
replaces = sublime-text-3-imfix
|
||||
source = https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2
|
||||
source = LICENSE
|
||||
sha256sums = 0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee
|
||||
sha256sums = 339dbd1b6ae3e699809afcdd6c690299e6fa0d385aa2ef658a52d336a3f8107f
|
||||
|
||||
pkgname = sublime-text-3
|
4
sublime-text-3/.gitignore
vendored
Normal file
4
sublime-text-3/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
/*.tar.bz2
|
||||
/*.pkg.tar.xz
|
||||
/pkg
|
||||
/src
|
13
sublime-text-3/LICENSE
Normal file
13
sublime-text-3/LICENSE
Normal file
|
@ -0,0 +1,13 @@
|
|||
Maintainer note:
|
||||
Sublime Text is free to use, if you want access to the newer builds, with the package
|
||||
`sublime-text-4-dev` or `sublime-text-dev`, you'll need a paid license.
|
||||
|
||||
Buying a license also supports the development of the editor.
|
||||
|
||||
---
|
||||
|
||||
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for
|
||||
continued use. Licenses are per-user, rather than per-machine, so you can enjoy Sublime Text on as
|
||||
many computers and operating systems as you wish with your license.
|
||||
|
||||
For more information, please visit https://www.sublimetext.com/buy
|
54
sublime-text-3/PKGBUILD
Normal file
54
sublime-text-3/PKGBUILD
Normal file
|
@ -0,0 +1,54 @@
|
|||
# Maintainer: marcospb19 <marcospb19@hotmail.com>
|
||||
|
||||
pkgname=sublime-text-3
|
||||
pkgver=3.3211
|
||||
pkgrel=1
|
||||
pkgdesc="Sophisticated text editor for code, html and prose - stable build"
|
||||
arch=('x86_64')
|
||||
url='https://www.sublimetext.com/3'
|
||||
license=('custom')
|
||||
depends=('libpng' 'gtk2')
|
||||
|
||||
replaces=('sublime-text-3-imfix')
|
||||
|
||||
conflicts=('sublime-text-4-dev'
|
||||
'sublime-text-4'
|
||||
'sublime-text-3-imfix'
|
||||
'sublime-text-imfix'
|
||||
'sublime-text-nightly'
|
||||
'sublime-text-dev'
|
||||
'sublime-text2')
|
||||
|
||||
provides=('sublime-text')
|
||||
|
||||
source=(
|
||||
"https://download.sublimetext.com/sublime_text_3_build_${pkgver:2}_x64.tar.bz2"
|
||||
'LICENSE'
|
||||
)
|
||||
sha256sums=('0b3c8ca5e6df376c3c24a4b9ac2e3b391333f73b229bc6e87d0b4a5f636d74ee'
|
||||
'339dbd1b6ae3e699809afcdd6c690299e6fa0d385aa2ef658a52d336a3f8107f')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"
|
||||
|
||||
# Install sublime text 3
|
||||
install -dm755 "${pkgdir}/opt"
|
||||
cp --preserve=mode -r "sublime_text_3" "${pkgdir}/opt/sublime_text_3"
|
||||
|
||||
# Install icons
|
||||
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"
|
||||
done
|
||||
|
||||
# Install desktop entry and executable
|
||||
install -dm755 "${pkgdir}/usr/share/applications"
|
||||
install -Dm644 "sublime_text_3/sublime_text.desktop" "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
||||
sed -i 's#/opt/sublime_text/sublime_text#subl#g' "${pkgdir}/usr/share/applications/sublime_text.desktop"
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl"
|
||||
|
||||
# Install license file
|
||||
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in a new issue