2015-07-07 23:14:02 +02:00
|
|
|
# Maintainer: Sander Boom <sanderboom@gmail.com>
|
2015-07-07 23:11:13 +02:00
|
|
|
# Contributor: realitygaps <realitygaps at yahoo dot com>
|
|
|
|
|
|
|
|
pkgname=sublime-text-dev
|
2018-05-14 08:39:32 +02:00
|
|
|
pkgver=3.3176
|
2016-02-09 10:08:09 +01:00
|
|
|
pkgrel=1
|
2015-07-07 23:11:13 +02:00
|
|
|
pkgdesc="Sophisticated text editor for code, html and prose - dev build"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.sublimetext.com/3"
|
|
|
|
license=('custom')
|
|
|
|
depends=('libpng' 'gtk2')
|
|
|
|
optdepends=('gksu: sudo-save support')
|
|
|
|
conflicts=('sublime-text-nightly')
|
|
|
|
provides=('sublime-text-nightly')
|
|
|
|
install=${pkgname}.install
|
|
|
|
|
|
|
|
source=('sublime_text_3.desktop')
|
2016-02-09 10:08:09 +01:00
|
|
|
source_i686=("https://download.sublimetext.com/sublime_text_3_build_${pkgver:2}_x32.tar.bz2")
|
|
|
|
source_x86_64=("https://download.sublimetext.com/sublime_text_3_build_${pkgver:2}_x64.tar.bz2")
|
2015-07-07 23:11:13 +02:00
|
|
|
|
2015-09-25 17:49:24 +02:00
|
|
|
sha256sums=('f355c6bec64e962a5735d0a7d1e11ac39b5b82aacaaf23b222c0bc202e15d866')
|
2018-05-14 08:39:32 +02:00
|
|
|
sha256sums_i686=('43e49dfdbea61cc0a1b6ebcdf0ff522d8531e6998e05f4756ba4218446f85a21')
|
|
|
|
sha256sums_x86_64=('74f17c1aec4ddec9d4d4c39f5aec0414a4755d407a05efa571e8892e0b9cf732')
|
2015-07-07 23:11:13 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"
|
|
|
|
|
|
|
|
install -dm755 "${pkgdir}/opt"
|
|
|
|
cp --preserve=mode -r "sublime_text_3" "${pkgdir}/opt/sublime_text_3"
|
|
|
|
|
|
|
|
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 -dm755 "${pkgdir}/usr/share/applications"
|
|
|
|
install -Dm644 "sublime_text_3.desktop" "${pkgdir}/usr/share/applications/sublime_text_3.desktop"
|
|
|
|
|
|
|
|
install -dm755 "${pkgdir}/usr/bin"
|
|
|
|
ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl3"
|
|
|
|
}
|