pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fixes to ufetch



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Dec 16 16:08:43 2019 +0100
Changeset:	1f1278e53c156b51bc7ced18c63a0520898d2454

Modified Files:
	ufetch/Makefile
	ufetch/PLIST

Log Message:
Fixes to ufetch

The package works as it should.
Makefile cleaned, PLIST generated.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1f1278e53c156b51bc7ced18c63a0520898d2454

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ufetch/Makefile | 8 ++++----
 ufetch/PLIST    | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/ufetch/Makefile b/ufetch/Makefile
index d96206cc39..0e5940e030 100644
--- a/ufetch/Makefile
+++ b/ufetch/Makefile
@@ -10,13 +10,13 @@ HOMEPAGE=	https://gitlab.com/jschx/ufetch/-/archive/v0.1/
 COMMENT=	Tiny system info for Unix-like operating systems
 LICENSE=	isc
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 USE_LANGUAGES=	# none
-
+USE_TOOLS+=	pax
 NO_BUILD=	yes
+NO_CONFIGURE=	yes
 
 do-install:
-	(cd ${WRKDIR}/${DISTNAME} && mv ufetch-netbsd ufetch && chmod +x ufetch && cp ufetch /usr/pkg/bin)
+	cd ${WRKSRC} && mv ufetch-netbsd ufetch && \
+	${PAX} -rw ufetch ${DESTDIR}${PREFIX}/bin/
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/ufetch/PLIST b/ufetch/PLIST
index 48d96a5493..550b065f10 100644
--- a/ufetch/PLIST
+++ b/ufetch/PLIST
@@ -1 +1,2 @@
 @comment $NetBSD$
+bin/ufetch


Home | Main Index | Thread Index | Old Index