Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: sublime-text4
@ 2021-07-31 18:43 Twilighttony
  2021-07-31 19:10 ` [PR PATCH] [Updated] " Twilighttony
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Twilighttony @ 2021-07-31 18:43 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-31 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 18:43 [PR PATCH] New Package: sublime-text4 Twilighttony
2021-07-31 19:10 ` [PR PATCH] [Updated] " Twilighttony
2021-07-31 19:12 ` [PR PATCH] [Closed]: " Chocimier
2021-07-31 19:12 ` Chocimier

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).