Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] leiningen: update to 2.10.0.
@ 2023-01-23 20:20 AdamFrey
  2023-01-23 20:44 ` [PR REVIEW] " paper42
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: AdamFrey @ 2023-01-23 20:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/AdamFrey/void-packages leiningen-2.10.0
https://github.com/void-linux/void-packages/pull/41825

leiningen: update to 2.10.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


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

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

From 67d0e111e0ee23a1ceca1d557ab96bb35eea9615 Mon Sep 17 00:00:00 2001
From: Adam Frey <adam@adamfrey.me>
Date: Mon, 23 Jan 2023 15:14:37 -0500
Subject: [PATCH] leiningen: update to 2.10.0.

---
 srcpkgs/leiningen/template | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/leiningen/template b/srcpkgs/leiningen/template
index bed67800d0e5..100f0404ec7e 100644
--- a/srcpkgs/leiningen/template
+++ b/srcpkgs/leiningen/template
@@ -1,24 +1,28 @@
 # Template file for 'leiningen'
 pkgname=leiningen
-version=2.9.5
+version=2.10.0
 revision=1
 depends="bash virtual?java-runtime"
 short_desc="Automate Clojure projects without setting your hair on fire"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Adam Frey <adam@adamfrey.me>"
 license="EPL-2.0"
 homepage="http://leiningen.org/"
-distfiles="https://github.com/technomancy/${pkgname}/archive/${version}.tar.gz
- https://github.com/technomancy/${pkgname}/releases/download/${version}/leiningen-${version}-standalone.zip"
-checksum="a29b45966e5cc1a37d5dc07fe436ed7cb172c88c53d44a049956ff53a096d43e
- df490c98bfe8d667bc5d83b80238528877234c285d0d48f61a4c8743c2db1eea"
-skip_extraction="leiningen-${version}-standalone.zip"
+distfiles="https://codeberg.org/${pkgname}/${pkgname}/archive/${version}.tar.gz
+ https://codeberg.org/attachments/${jar_id}"
+checksum="6b04dbe0934ab4c34dc27b0055ad290d2ba9c0f454c1bda7defa58d62946b743
+ d27299bad34075ac2864d0bd0559f835c6e2c476c0b0a283bcbdb574fdadbb34"
+_jar_id=43cebda5-a7c2-405b-b641-5143a00051b5
+
+do_extract() {
+	bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${version}.tar.gz
+}
 
 do_install() {
-	vbin bin/lein-pkg lein
-	vman doc/lein.1
+	vbin ${pkgname}/bin/lein lein
+	vman ${pkgname}/doc/lein.1
 
-	vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/leiningen-${version}-standalone.zip \
+	vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_jar_id} \
 		644 usr/share/java leiningen-${version}-standalone.jar
-	vcompletion zsh_completion.zsh zsh lein
-	vcompletion bash_completion.bash bash lein
+	vcompletion ${pkgname}/zsh_completion.zsh zsh lein
+	vcompletion ${pkgname}/bash_completion.bash bash lein
 }

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

end of thread, other threads:[~2023-05-16 16:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 20:20 [PR PATCH] leiningen: update to 2.10.0 AdamFrey
2023-01-23 20:44 ` [PR REVIEW] " paper42
2023-01-23 20:44 ` paper42
2023-01-23 21:15 ` [PR PATCH] [Updated] " AdamFrey
2023-01-23 21:16 ` [PR REVIEW] " AdamFrey
2023-01-23 21:16 ` AdamFrey
2023-01-24 10:28 ` icp1994
2023-01-24 13:29 ` [PR PATCH] [Updated] " AdamFrey
2023-01-25 20:58 ` AdamFrey
2023-01-25 21:28 ` paper42
2023-01-25 21:28 ` classabbyamp
2023-01-27 13:02 ` [PR PATCH] [Updated] " AdamFrey
2023-01-27 13:04 ` AdamFrey
2023-02-14 13:15 ` AdamFrey
2023-05-16  1:54 ` github-actions
2023-05-16  2:16 ` [PR REVIEW] " classabbyamp
2023-05-16 11:16 ` [PR PATCH] [Updated] " AdamFrey
2023-05-16 11:17 ` [PR REVIEW] " AdamFrey
2023-05-16 16:24 ` [PR PATCH] [Merged]: " classabbyamp

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