1 # Maintainer: Sander Boom <sander at inflowmotion dot nl>
2 # Contributor: realitygaps <realitygaps at yahoo dot com>
4 pkgname=sublime-text-dev
8 pkgdesc="sophisticated text editor for code, html and prose - dev build"
10 url="http://www.sublimetext.com/dev"
12 depends=(libpng12 gtk2)
13 conflicts=(sublime-text)
17 [[ "${CARCH}" = i686 ]] && _arch='' && _archurl=''
20 "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202%20Build%20${_build}${_archurl}.tar.bz2"
21 sublime-text-dev.desktop
22 sublime-text-dev-icon.png
25 md5sums=('b0d5cba6e7a738eb2aaebbc620c1539f'
26 'a263a1c158d8a0cf00262f64e7953e41'
27 'd08225e4b82a9de9a8fcbbf2b4aa6c23'
28 'a3e2c2ceeb37c4eeb7712c660e79b01b')
30 [[ "${CARCH}" = i686 ]] && md5sums[0]='24288ad8e1129970deebdafd1a63200f'
36 install -Dm644 ${pkgname}.desktop \
37 ${pkgdir}/usr/share/applications/${pkgname}.desktop
38 install -Dm644 ${pkgname}-icon.png \
39 ${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png
41 install -dm755 ${pkgdir}/opt
42 cp -r "Sublime Text 2" ${pkgdir}/opt/${pkgname}
44 install -Dm755 subl ${pkgdir}/usr/bin/subl