Skip to content

Instantly share code, notes, and snippets.

@gonsolo
Last active September 18, 2024 06:22
Show Gist options
  • Save gonsolo/d360da64e987e56f39df34e962da43fd to your computer and use it in GitHub Desktop.
Save gonsolo/d360da64e987e56f39df34e962da43fd to your computer and use it in GitHub Desktop.
Update metals to 1.3.5 for Arch and add nvchecker
From 9fd94d923c1b9531a05fa852beaa44e0d92e4052 Mon Sep 17 00:00:00 2001
From: Gon Solo <[email protected]>
Date: Wed, 18 Sep 2024 08:14:01 +0200
Subject: [PATCH] Update to v1.3.5.
---
.nvchecker.toml | 4 ++++
PKGBUILD | 26 +++++++++++++-------------
version-fix.patch | 2 +-
3 files changed, 18 insertions(+), 14 deletions(-)
create mode 100644 .nvchecker.toml
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 0000000..fa47427
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,4 @@
+[metals]
+source = "git"
+git = "https://github.com/scalameta/metals.git"
+prefix = "v"
diff --git a/PKGBUILD b/PKGBUILD
index fbc4afe..d8d6f50 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Maintainer: David Strawn <isomarcte a__t gmail d__o__t c__o__m>
pkgname='metals'
-pkgver='1.3.0'
+pkgver=1.3.5
pkgrel=1
epoch=
pkgdesc='Language Server For Scala'
@@ -26,53 +26,53 @@ install=
changelog=
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/scalameta/$pkgname/archive/v$pkgver.tar.gz" 'metals-client.sh' 'metals-emacs.sh' 'metals-vim.sh' 'metals-vscode.sh' 'metals-sublime.sh' 'version-fix.patch' 'JREMajorVersion.java')
noextract=()
-md5sums=('4a86e396f1e4d976ab7cd72f46674c4d'
+md5sums=('216d5c12e40d1c1d5984ef1cc0856c3f'
'af44c1849b0dcfed177bd6fae1d30413'
'ad97e9262c7b22dd71b017a6402f612a'
'000bd73ebc3ea46b23e2c418ef97f4c7'
'83b5669127510100d6e7ab4094877a6e'
'38c34ab96f6cf637f7be9f72b7400983'
- '14f5cd10b5193538a91a86ad7d5ba3ce'
+ '73edca864ffaf432d66692d1f68d2c73'
'8ddf6b592e6167de2df073016a9b042d')
-sha1sums=('40521c9552657e826da8fd74e41b46a68222c2aa'
+sha1sums=('e03bb5668e689e377abee41b66ca11aa9ebcd9e4'
'8989fcd5e0d6f25976fc2646d7542d0ed2f04f28'
'b498568936dcfd03a06d7b41f76bbb7fffbc3bdf'
'3882901e88f4a85f85d67dcda53f83c89d4563c6'
'f2d0e8aa2744697d4dad0a7c10f835fe5814524b'
'b2577ac4ee93e3a611558294378c185227ed8321'
- 'e76363193ac7b8cde766c372a05fae73c08fbf9b'
+ 'bdc6613986c584566400a9a7e9220bbd8841fca7'
'1f659a83c4403c038bb33026fc69a73c4ac4d76d')
-sha224sums=('7c9ebe1b87306beae0eeefb1a5d27be9dadcd6c6f3ccc97250ff37d4'
+sha224sums=('f7c6819e386f4f2e6c96692d9dfce127f1f002b417188ded76de7cd4'
'77db230a65c8b75858ce6f4f52a3ae709072004ae5a0fc3d1072e415'
'43d2f6b0b4b7ef539f5109b1127dcd88828f2f8ae0b9c052899af1c9'
'a99d9457fd6cf582b349e56e5e8e9cece30e33ff6866c5969f090f5e'
'6ffcb9ee870dd260f90e333082e90b9b30212f1f21dd3d3a0048a67e'
'fff5cbeed72e44f9159872f59a0ca0a19fc81a8ed943500373e9108e'
- '5413c398aa4bc77f98aa6b1693667aa87b0f29ccbde65dacbb698819'
+ '659ef9df7a5c30541e1583d24945923f1a05c4c3275274d7a48b7cf0'
'd48db6d9e58e19bbd7715aef204c04d01953479e9d5ca7aba94b8f36')
-sha256sums=('c4fc0d6787afe4aeb2e06319f40765b791cf11e96645e6c88dc793b6bdd04b48'
+sha256sums=('9715cc653a22b7ce27d2abbfc2d62043092047e9554e981828a6a64c1bec4bf1'
'3d533b5191154ed9d8dbcc27a286f8da6a0e6031bca0e6d6fc0987f9fe6484c0'
'b3579e68cee7f23f6f6a12fe0bc6396f1722434d23ce3c58e7c9fac2233cd1d3'
'e9bbc61ec99dc0893560a12a8a0f56c9f27016895e177a164019ab9174fe94e2'
'c2213c8d4a1a0fe5bb12d5bcde53ab04d9b0aa08ddcabd60de938a8d480e49d5'
'fb42157046a11089fa69e0120ae83ff3bc354709e2add4644fe3fc60aa80c984'
- 'b69d61c2e6f9dfbbe64806be9d3dcd976b16c4cef1d6794e8cc63079be780373'
+ '15b12394c0df8e4e6dec0b1b80d2942e53bf816cc474e1bb066efc65218adb29'
'9b5fcbcd9628d2c003d48d8e5dbbc3cb1de8dd4fa4c272cafed4f1d027e67bdb')
-sha384sums=('bad13eba6e44511933ef79ccffc55fab2d00f79e8107f9c8c04662c970f64e53b637e67dfc1c1c9db511573c2188692c'
+sha384sums=('01b87b0fbaa033e1260224b0b8c8d49da03ada97b48890769408f40c6c6b320acf2fc33187ad64bb692230b756df1e44'
'd2bdfdbba7f0aa0e6589b43aaffd0c7b1fc5c7231767e30c4680fa9a2e5166ed94e4bdfe6e4465613f739854660ebecb'
'762dd7c73e994b74ebeb5c975ca0b53ddf4cbf181664d465bd9c543798333dcc4939c360a4b5b8b1b162810ea363d288'
'6bee0d21d0fcf3d8f5ee14545be63fb2bbababb0665020540daafc708939bbc539ab940cfe122b2281156bc78d401768'
'26859b59a04e38a5e7d02e188643765d06b893385232895f5b1435fb3d4fa4d676e8d43bbc80360f9ee7a2ee01e64d2c'
'8b9204ce4a60890eb94f0fe673504a9a10c583b9814e844da14b8d1313db7f8cf7d5f9a7b8db0bbd25fb2f9263e434b7'
- 'b1cabb2a28da21b2c8efb208ed564c4f19818f33af11a2c768cb6c8adb655312f886d49f6f2b6f6a5fb98a287c8855c9'
+ '78d5d28aa3dce09841edc7747030d57a750d0c761e7c5debd66b7a323458bfd8dfe01db2ecaac5ba1bf007502f87fd01'
'021c3837df318b14a5b4547717b4b19436a07edf61d735ce05d2fe57f23ca2d1c9787c8b86a08f43547b6d92f935476c')
-sha512sums=('6513efd86b4a968b5b6d6c27baab614309070216d45ae05391b43692209ae3d7da83755e224cef44ed499d75323ee634b9347cdba642e297af25f4c48d0d140e'
+sha512sums=('dc2eb9468474241ba04394a2f7de65c0509707f4b5f8206a1e8352edeab61d6a89b4be21dfdc61d705b46fcf07afa1eee93f774320eefa2e525b0ee894ee37ad'
'd0539dfd53e95bea29cb92d634dd2df259d9db8ad568c6ec368ddaeaf53e1f6b946218820bd2aa0e4726a21225e863dc55b2ddd8a0ee12fc1426fdd34feb856a'
'bd26818e43627c4e20aa931663b4623e45ade0930a29952d6508fa6e1302f5140afed7f57a796c12da3e9ae256ff7c0b3eb2e5075b00ceda9d2e4ddc22e89205'
'16d01a820f1ed93ae46194d3d77187adf6fd4e9764fcf99554430e3e2f2af4cc2b6f7918f595febd3c5e6a380bbfb930bb47a3dd2ba93c60b2ca1f874f264fee'
'722770a6c30ccf75c73ae9be19655cdff00561c62bf15b619dfa618cdd636e97aaf5a6aca1297add4e6a54274cd49e81781d98a59986526d0077a6c64855562d'
'9f32d0ead26fad866f52209c0f6dabdaa3481bafd6121134b2fde6e95a80b5d2757c17ca6f1804b6e060b839efa9a9f7d342d48ad8d22b767e13c585e209045b'
- '56da8e0edc644fcd874792afa754d48e0397085ab31edae960693ced412731749c9b7712427a4dc4ad1a2e88f90f27acf52354f3f73f2f47b095ef8536979fc4'
+ '130b8a81175e89d3ebc6a4e2be21672133f912a23bed052a73885a5030fe5666586d5cfffe6c2d1700ea719058fa8656f992f57bc00b41a81db4b0f9cc615ad9'
'7e9f198f0141cf750cb67ac0b350fb0fa2c204f5a8a271e475b2699ecf0f46cf20219cea3fd12bb5edeb8fb08159069d03afc1dd6626703e8eeddee9b365d191')
validpgpkeys=()
install=metals.install
diff --git a/version-fix.patch b/version-fix.patch
index bb798dc..1d8eb45 100644
--- a/version-fix.patch
+++ b/version-fix.patch
@@ -10,7 +10,7 @@ index e84f9ef8f8..3eaa28d3f2 100644
- if (isCI) dynVer
- else localSnapshotVersion // only for local publishing
- },
-+ version := "1.3.0",
++ version := "1.3.5",
scalaVersion := V.scala213,
crossScalaVersions := List(V.scala213),
scalacOptions ++= List(
--
2.46.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment