sublime-text3: update to 3083
This commit is contained in:
parent
5e5ced2898
commit
9abe146b38
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'sublime-text3'
|
# Template file for 'sublime-text3'
|
||||||
pkgname=sublime-text3
|
pkgname=sublime-text3
|
||||||
version=3065
|
version=3083
|
||||||
revision=1
|
revision=1
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x64.tar.bz2"
|
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x64.tar.bz2"
|
||||||
checksum="fe548e6d86d72cd7e90eee9d5396b590ae6e8f8b0dfc661d86c814214e60faea"
|
checksum="4565c7f607b69ca6efa1751c739a11d42aeaf66d15987fbb9595e97e3ece14ee"
|
||||||
else
|
else
|
||||||
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x32.tar.bz2"
|
distfiles="http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}_x32.tar.bz2"
|
||||||
checksum="e25f84fe0d0c02ce71274d334fd42ce6313adcd4ec1d588b165d25f5e93ad78d"
|
checksum="89e8e2bafa041c263d2c5ffd1b8ea3c36d9727c95a3f7a6603bdf1f6c4cc3165"
|
||||||
fi
|
fi
|
||||||
depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
|
depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
|
||||||
maintainer="Steven R <dev@styez.com>"
|
maintainer="Steven R <dev@styez.com>"
|
||||||
|
@ -20,13 +20,13 @@ only_for_archs="i686 x86_64"
|
||||||
wrksrc="sublime_text_3"
|
wrksrc="sublime_text_3"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir "usr/bin"
|
vmkdir "usr/bin"
|
||||||
vmkdir "usr/share/sublime_text"
|
vmkdir "usr/share/sublime_text"
|
||||||
cp --preserve=mode -r ./* "${DESTDIR}/usr/share/sublime_text"
|
cp --preserve=mode -r ./* "${DESTDIR}/usr/share/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 /usr/share/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3
|
ln -s /usr/share/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3
|
||||||
sed -i 's:Exec=/opt/sublime_text/:Exec=/usr/share/sublime_text/:' ${DESTDIR}/usr/share/applications/sublime_text.desktop
|
sed -i 's:Exec=/opt/sublime_text/:Exec=/usr/share/sublime_text/:' ${DESTDIR}/usr/share/applications/sublime_text.desktop
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue