pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gospt: Simplify distfile handling
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Jan 16 10:35:12 2023 +0100
Changeset: cc29d40d2ea556c7d55024f7ac38b7aff7eae157
Modified Files:
gospt/Makefile
gospt/distinfo
Log Message:
gospt: Simplify distfile handling
Just set a proper DISTNAME and use `-' in MASTER_SITES so that everything gets
assigned properly and permit to get rid of several redefinition.
GO_BUILD_PATTERN is already `./...', no need to redefine it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cc29d40d2ea556c7d55024f7ac38b7aff7eae157
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gospt/Makefile | 14 +++-----------
gospt/distinfo | 6 +++---
2 files changed, 6 insertions(+), 14 deletions(-)
diffs:
diff --git a/gospt/Makefile b/gospt/Makefile
index b196092521..c44442b43a 100644
--- a/gospt/Makefile
+++ b/gospt/Makefile
@@ -1,9 +1,8 @@
# $NetBSD$
-DISTNAME= v0.0.25
-PKGNAME= gospt-0.0.25
+DISTNAME= gospt-0.0.25
CATEGORIES= audio
-MASTER_SITES= https://gitea.asdf.cafe/abs3nt/gospt/archive/
+MASTER_SITES= -https://gitea.asdf.cafe/abs3nt/gospt/archive/v${PKGVERSION_NOREV}.tar.gz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://gitea.asdf.cafe/abs3nt/gospt/
@@ -14,14 +13,7 @@ LICENSE= mit
# You will need a client like 'librespot' or 'spotifyd' running in
# the backgroud and to set that as device in gospt.
-WRKSRC= ${WRKDIR}/gospt
-
-INSTALLATION_DIRS= bin
-GO_BUILD_PATTERN= ./...
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/gospt \
- ${DESTDIR}${PREFIX}/bin
+WRKSRC= ${WRKDIR}/${PKGBASE}
.include "go-modules.mk"
diff --git a/gospt/distinfo b/gospt/distinfo
index fba194f9a4..a17cdae721 100644
--- a/gospt/distinfo
+++ b/gospt/distinfo
@@ -1314,6 +1314,9 @@ Size (gopkg.in_yaml.v3_@v_v3.0.1.mod) = 95 bytes
BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 2e80fa896e65b1ae160400012c71aeac70e22a31cac82ec4921c85a93d65774c
SHA512 (gopkg.in_yaml.v3_@v_v3.0.1.zip) = d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff
Size (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 104623 bytes
+BLAKE2s (gospt-0.0.25.tar.gz) = 651393b101e720aee58a3156474076b2081633cd7619e0be4f0f4ded401aa1af
+SHA512 (gospt-0.0.25.tar.gz) = b052b3856713608a91e3c2a9c09750c2e5618a0a64490dad183f8a03dae2d1dab202456c9572204a96c4f79c979c503f032367e46e0938f7d13f85d28a3893cd
+Size (gospt-0.0.25.tar.gz) = 3416648 bytes
BLAKE2s (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = 38e66bb2bbbbabd21beff5a5718735267b1611dbdf7da56c7fb6500d6cb784f1
SHA512 (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
Size (honnef.co_go_tools_@v_v0.0.0-20190102054323-c2f93a96b099.mod) = 26 bytes
@@ -1344,6 +1347,3 @@ Size (rsc.io_quote_v3_@v_v3.1.0.mod) = 55 bytes
BLAKE2s (rsc.io_sampler_@v_v1.3.0.mod) = 6d4d3ba7c381b9a923679a73562a7cf3d6b7d49f94f585f274c8955bb1b932b4
SHA512 (rsc.io_sampler_@v_v1.3.0.mod) = 2137507eb25fbae419605e0cd6bca4cfa584110eebc276cd759a4dcb6f97e52928e5b2d9b276e76bcabcec3bbfc2c42f97fa29f54695d27fb00f9423e1638863
Size (rsc.io_sampler_@v_v1.3.0.mod) = 88 bytes
-BLAKE2s (v0.0.25.tar.gz) = 651393b101e720aee58a3156474076b2081633cd7619e0be4f0f4ded401aa1af
-SHA512 (v0.0.25.tar.gz) = b052b3856713608a91e3c2a9c09750c2e5618a0a64490dad183f8a03dae2d1dab202456c9572204a96c4f79c979c503f032367e46e0938f7d13f85d28a3893cd
-Size (v0.0.25.tar.gz) = 3416648 bytes
Home |
Main Index |
Thread Index |
Old Index