pkgsrc-WIP-changes archive

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

foliate: Adds a symlink and removes unwanted orig files causing PLIST issues.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Mon Oct 7 18:08:17 2019 -0500
Changeset:	64fb6398e8ab3bc9ce1bd5099d1918df070765fa

Modified Files:
	foliate/Makefile
	foliate/PLIST

Log Message:
foliate: Adds a symlink and removes unwanted orig files causing PLIST issues.

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

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

diffstat:
 foliate/Makefile | 7 +++++++
 foliate/PLIST    | 1 +
 2 files changed, 8 insertions(+)

diffs:
diff --git a/foliate/Makefile b/foliate/Makefile
index cc1e911194..7a93f43e01 100644
--- a/foliate/Makefile
+++ b/foliate/Makefile
@@ -29,6 +29,13 @@ REPLACE_PYTHON+=	src/assets/KindleUnpack/*.py
 
 GLIB_SCHEMAS=	com.github.johnfactotum.Foliate.gschema.xml
 
+pre-install:
+	${RM} -f ${WRKSRC}/src/assets/KindleUnpack/*.orig
+
+post-install:
+	${LN} -s -f ${DESTDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \
+		${DESTDIR}${PREFIX}/bin/foliate
+
 .include "../../devel/py-meson/build.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/glib2/schemas.mk"
diff --git a/foliate/PLIST b/foliate/PLIST
index 16944a0415..e5954077a0 100644
--- a/foliate/PLIST
+++ b/foliate/PLIST
@@ -1,5 +1,6 @@
 @comment $NetBSD$
 bin/com.github.johnfactotum.Foliate
+bin/foliate
 share/applications/com.github.johnfactotum.Foliate.desktop
 share/com.github.johnfactotum.Foliate/assets/KindleUnpack/__init__.py
 share/com.github.johnfactotum.Foliate/assets/KindleUnpack/compatibility_utils.py


Home | Main Index | Thread Index | Old Index