From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] sublime-text3: remove elf files from /usr/share
Date: Thu, 24 Dec 2020 07:18:22 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27394@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
There is a new pull request by abenson against master on the void-packages repository
https://github.com/abenson/void-packages subl3_fix_elfshare
https://github.com/void-linux/void-packages/pull/27394
sublime-text3: remove elf files from /usr/share
Closes #27344
A patch file from https://github.com/void-linux/void-packages/pull/27394.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-subl3_fix_elfshare-27394.patch --]
[-- Type: text/x-diff, Size: 1839 bytes --]
From 686f4d957ab45445e224f09e7f57bdfdf023f197 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Thu, 24 Dec 2020 00:09:10 -0600
Subject: [PATCH] sublime-text3: remove elf files from /usr/share
Closes #27344
---
srcpkgs/sublime-text3/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/sublime-text3/template b/srcpkgs/sublime-text3/template
index e87de887ad0..f86f71942d8 100644
--- a/srcpkgs/sublime-text3/template
+++ b/srcpkgs/sublime-text3/template
@@ -1,11 +1,11 @@
# Template file for 'sublime-text3'
pkgname=sublime-text3
version=3211
-revision=1
+revision=2
depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
short_desc="Sophisticated text editor for code, markup and prose"
maintainer="Andrea Brancaleoni <miwaxe@pompel.me>"
-license="Propietary"
+license="custom:Proprietary"
homepage="http://www.sublimetext.com/3dev"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
@@ -23,12 +23,12 @@ nopie=yes
do_install() {
vmkdir "usr/bin"
- vmkdir "usr/share/sublime_text"
- cp --preserve=mode -r ./* "${DESTDIR}/usr/share/sublime_text"
+ vmkdir "usr/libexec/sublime_text"
+ cp --preserve=mode -r ./* "${DESTDIR}/usr/libexec/sublime_text"
vinstall "sublime_text.desktop" 644 "usr/share/applications/"
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/"
done
- 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
+ ln -s /usr/libexec/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl3
+ sed -i 's:Exec=/opt/sublime_text/:Exec=/usr/libexec/sublime_text/:' ${DESTDIR}/usr/share/applications/sublime_text.desktop
}
next reply other threads:[~2020-12-24 6:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 6:18 abenson [this message]
2020-12-24 6:26 ` [PR REVIEW] " ericonr
2021-01-05 19:28 ` [PR PATCH] [Updated] " abenson
2021-01-05 19:34 ` [PR PATCH] [Merged]: " abenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27394@inbox.vuxu.org \
--to=abenson@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).