Hi, I'm building pluging packages for sublime for the AUR and I had a suggestion.
can I suggest adding:
provides=(sublime-text)
and installing to /opt/sublime-text/ rather than /opt/sublime-text-dev/ ?
This would make it possible to make a set of PKGBUILDS for the public plugins repositories for sublime that would work for both sublime-text and sublime-text-dev. If not, 2 PKGBUILDS would have to exist for every plugin package, which seems silly.
Search Criteria
Package Details: sublime-text-dev 4.4183-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sublime-text-dev.git (read-only, click to copy) |
---|---|
Package Base: | sublime-text-dev |
Description: | Sophisticated text editor for code, html and prose - dev build |
Upstream URL: | https://www.sublimetext.com/dev |
Licenses: | custom |
Conflicts: | sublime-text |
Provides: | sublime-text |
Submitter: | realitygaps |
Maintainer: | SunRed (edub4rt) |
Last Packager: | SunRed |
Votes: | 517 |
Popularity: | 0.103495 |
First Submitted: | 2011-11-10 18:32 (UTC) |
Last Updated: | 2024-09-29 19:00 (UTC) |
Dependencies (2)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
Required by (0)
Sources (3)
stefanwilkens commented on 2012-01-10 09:23 (UTC)
<deleted-account> commented on 2012-01-10 06:59 (UTC)
Should add quote for ARGS in /usr/bin/subl for file open with Nautilus contain white spaces.
I was modified it like below:
#!/bin/sh
# Please note that Sublime Text 2 for some reason opens an empty instance
# if the project you're trying to open is already open in another instance,
# instead of just giving it focus.
BIN=/opt/sublime-text-dev/sublime_text
PID=$(pidof -o %PPID ${BIN})
ARGS="${@}"
if [[ ${1:(-16)} == ".sublime-project" ]]; then
ARGS="--project ${ARGS}"
fi
if [[ -n ${PID} ]]; then
${BIN} "${ARGS}"
else
${BIN} "${ARGS}" &
fi
Thanks!
drizz commented on 2012-01-06 14:42 (UTC)
Is it still deemed necessary to control whether or not `sublime_text` processes should start in the background?
Build 2144 introduced .sublime-project handling and the current `subl` script doesn't always start it in the background like it should.
My new proposal is https://gist.github.com/1307801
kirrmann commented on 2011-11-10 23:41 (UTC)
there is already 2142 because 2141 is segfaulting
Pinned Comments
SunRed commented on 2022-02-20 11:30 (UTC)
Please note that the dev branch of this software requires a license to be purchased from the website. If you want to support this software, please consider doing so.
You can use the stable branch available at sublime-text-4 or the official package for free.
SunRed commented on 2021-05-21 13:04 (UTC)
To cut down the amount of packages to be maintained and to decrease confusion, this package is now used for the 'dev' branch of Sublime Text that is kept up to date with the most recent version. Users who want to stay on the latest legacy versions or the most recent stable release should stick to the respective stable release packages (sublime-text-3, sublime-text-4) or use the official repos provided by Sublime Text.