Github messages for voidlinux
 help / color / mirror / Atom feed
From: Twilighttony <Twilighttony@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New Package: sublime-text4
Date: Sat, 31 Jul 2021 20:43:17 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32273@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

There is a new pull request by Twilighttony against master on the void-packages repository

https://github.com/Twilighttony/void-packages master
https://github.com/void-linux/void-packages/pull/32273

New Package: sublime-text4
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/32273.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-32273.patch --]
[-- Type: text/x-diff, Size: 1916 bytes --]

From f18b7986a8624cd674d7daf96998c582da988b23 Mon Sep 17 00:00:00 2001
From: Twilighttony <starrbeartony14@zoho.com>
Date: Sat, 31 Jul 2021 14:41:50 -0400
Subject: [PATCH] New Package: sublime-text4

---
 srcpkgs/sublime-text4/template | 36 ++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/sublime-text4/template

diff --git a/srcpkgs/sublime-text4/template b/srcpkgs/sublime-text4/template
new file mode 100644
index 000000000000..fc62c77af3b5
--- /dev/null
+++ b/srcpkgs/sublime-text4/template
@@ -0,0 +1,36 @@
+# Template file for 'sublime-text4'
+pkgname=sublime-text4
+version=4133
+revision=4133
+depends="libpng gtk+ hicolor-icon-theme desktop-file-utils"
+short_desc="Sophisticated text editor for code, markup and prose"
+maintainer="John Lupsa <starrbeartony14@zoho.com>"
+license="custom:Proprietary"
+homepage="http://www.sublimetext.com/download"
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	distfiles="https://download.sublimetext.com/sublime_text_build_4113_x64.tar.xz"
+	checksum=900ef90fc6453efc4c2b36132a5f16a4db67a226fa9732e4d3c1bf586d4dc78c
+else
+	distfiles="https://download.sublimetext.com/sublime_text_build_4113_arm64.tar.xz"
+	checksum=63d536e4c1ff8ca13bbf19fdfacbdeedd6af783f759824500faa4216d978e641
+fi
+
+repository="nonfree"
+archs="aarch64 x86_64"
+wrksrc="sublime_text"
+nopie=yes
+
+do_install() {
+	vmkdir "usr/bin"
+	vmkdir "usr/lib/sublime_text"
+	cp --preserve=mode -r ./* "${DESTDIR}/usr/lib/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/lib/sublime_text/sublime_text ${DESTDIR}/usr/bin/subl4
+	vsed -e 's:Exec=/opt/sublime_text/:Exec=/usr/lib/sublime_text/:' \
+	 -i ${DESTDIR}/usr/share/applications/sublime_text.desktop
+}

             reply	other threads:[~2021-07-31 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 18:43 Twilighttony [this message]
2021-07-31 19:10 ` [PR PATCH] [Updated] " Twilighttony
2021-07-31 19:12 ` Chocimier
2021-07-31 19:12 ` [PR PATCH] [Closed]: " Chocimier
  -- strict thread matches above, loose matches on Subject: below --
2021-05-21 13:50 [PR PATCH] New package: sublime-text4 marmeladema

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-32273@inbox.vuxu.org \
    --to=twilighttony@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).