mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
sublime-text3: update template
This commit is contained in:
parent
99bf814d44
commit
713d594ae5
1 changed files with 8 additions and 15 deletions
|
@ -1,39 +1,32 @@
|
||||||
# Template file for 'sublime-text3'
|
# Template file for 'sublime-text3'
|
||||||
pkgname=sublime-text3
|
pkgname=sublime-text3
|
||||||
_subl_distver=3
|
version=3046
|
||||||
_subl_patchlevel=3046
|
|
||||||
version=${_subl_distver}.${_subl_patchlevel}
|
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Sublime Text is a sophisticated text editor for code, markup and prose"
|
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x64.tar.bz2"
|
||||||
maintainer="Steven R <strob AT styez DOT com>"
|
|
||||||
license="Custom"
|
|
||||||
homepage="http://www.sublimetext.com/3dev"
|
|
||||||
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${_subl_patchlevel}_x64.tar.bz2"
|
|
||||||
checksum="580c4f2a68487a54639b7f4365931ab21cc56e17105dfa4f95fd03ace32b2474"
|
checksum="580c4f2a68487a54639b7f4365931ab21cc56e17105dfa4f95fd03ace32b2474"
|
||||||
|
wrksrc="sublime_text_3"
|
||||||
|
only_for_archs="x86_64"
|
||||||
|
maintainer="Steven R <strob AT styez DOT com>"
|
||||||
|
homepage="http://www.sublimetext.com/3dev"
|
||||||
|
license="Custom"
|
||||||
|
short_desc="Sublime Text is a sophisticated text editor for code, markup and prose"
|
||||||
long_desc="
|
long_desc="
|
||||||
Sublime Text is a sophisticated text editor for code, markup and prose.
|
Sublime Text is a sophisticated text editor for code, markup and prose.
|
||||||
You'll love the slick user interface, extraordinary features and amazing performance."
|
You'll love the slick user interface, extraordinary features and amazing performance."
|
||||||
wrksrc="sublime_text_3"
|
|
||||||
only_for_archs="x86_64"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir "opt/sublime_text"
|
vmkdir "opt/sublime_text"
|
||||||
vmkdir "usr/sbin"
|
vmkdir "usr/sbin"
|
||||||
|
|
||||||
cp --preserve=mode -r ./* "${DESTDIR}/opt/sublime_text"
|
cp --preserve=mode -r ./* "${DESTDIR}/opt/sublime_text"
|
||||||
|
|
||||||
vinstall "sublime_text.desktop" 644 "usr/share/applications/"
|
vinstall "sublime_text.desktop" 644 "usr/share/applications/"
|
||||||
|
|
||||||
for size in 128 16 256 32 48; do
|
for size in 128 16 256 32 48; do
|
||||||
vinstall "Icon/${size}x${size}/sublime-text.png" 644 "usr/share/icons/hicolor/${size}x${size}/apps/"
|
vinstall "Icon/${size}x${size}/sublime-text.png" 644 "usr/share/icons/hicolor/${size}x${size}/apps/"
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -s /opt/sublime_text/sublime_text ${DESTDIR}/usr/sbin/subl3
|
ln -s /opt/sublime_text/sublime_text ${DESTDIR}/usr/sbin/subl3
|
||||||
}
|
}
|
||||||
|
|
||||||
sublime-text3_package() {
|
sublime-text3_package() {
|
||||||
nonfree="yes"
|
nonfree="yes"
|
||||||
nostrip="yes"
|
|
||||||
depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
|
depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove all
|
vmove all
|
||||||
|
|
Loading…
Add table
Reference in a new issue