From d3ad6fa53a8607fced78097d1d6a162d877571b3 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 16 Jun 2022 23:34:03 -0400 Subject: [PATCH] sublime-text4: unrestrict --- srcpkgs/sublime-text4/template | 11 +++++------ srcpkgs/sublime-text4/update | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/sublime-text4/update diff --git a/srcpkgs/sublime-text4/template b/srcpkgs/sublime-text4/template index 8f3edc50ad7..b98cecea99f 100644 --- a/srcpkgs/sublime-text4/template +++ b/srcpkgs/sublime-text4/template @@ -1,7 +1,7 @@ # Template file for 'sublime-text4' pkgname=sublime-text4 version=4126 -revision=1 +revision=2 archs="x86_64 aarch64" wrksrc="sublime_text" hostmakedepends="w3m" @@ -10,22 +10,21 @@ short_desc="Sophisticated text editor for code, markup and prose" maintainer="DirectorX " license="custom:EULA" homepage="https://www.sublimetext.com/" -conflicts="sublime-text3" +conflicts="sublime-text3 sublime-text3-bin" repository="nonfree" -restricted=yes nopie=yes -_license_checksum=33929b71625d13dacf2a0a5853171b9c04058f71e2955ee660b8d0f8dda45ed1 case "$XBPS_TARGET_MACHINE" in - x86_64) + x86_64) distfiles="https://download.sublimetext.com/sublime_text_build_${version}_x64.tar.xz" checksum=5c64e534cce0032e54d3c7028e8d6b3bdef28f3fd28a26244a360a2ce75450a1 ;; - aarch64) + aarch64) distfiles="https://download.sublimetext.com/sublime_text_build_${version}_arm64.tar.xz" checksum=0ad4ac168d47034c47ab31faaa0d8b6b4f27e233ea4e48634b930bf999efb63e ;; esac +_license_checksum=287d037b0ecedb68ae1e3138411d54b87172156effecd1987a5f85834aa26a24 post_extract() { $XBPS_FETCH_CMD https://www.sublimehq.com/eula diff --git a/srcpkgs/sublime-text4/update b/srcpkgs/sublime-text4/update new file mode 100644 index 00000000000..e6992cff6d8 --- /dev/null +++ b/srcpkgs/sublime-text4/update @@ -0,0 +1,2 @@ +site="https://www.sublimetext.com/download" +pattern='

Version: Build \K[-.\d]+(?=

)'