archivers/peazip: update to 8.8.0

- Add additional desktop files
This commit is contained in:
Jose Alonso Cardenas Marquez 2022-08-30 00:44:38 -05:00
parent 860e1762bb
commit 27c88eb9b4
3 changed files with 18 additions and 12 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= peazip
PORTVERSION= 8.6.0
PORTREVISION= 2
PORTVERSION= 8.8.0
CATEGORIES= archivers
MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
@ -21,7 +20,7 @@ SUB_FILES= pea peazip
DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt)
LAZARUS_PROJECT_FILES= project_pea.lpi project_peach.lpi
LAZARUS_PROJECT_FILES= dev/project_pea.lpi dev/project_peach.lpi
LAZBUILD_ARGS= -d
gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5
@ -80,7 +79,7 @@ PLIST_SUB+= UNACE="@comment "
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} 's|GetSelectedNodePath|Path|g' ${WRKSRC}/peach.pas
${REINPLACE_CMD} 's|GetSelectedNodePath|Path|g' ${WRKSRC}/dev/peach.pas
pre-install:
@${ECHO_CMD} "#" > ${WRKSRC}/altconf.txt
@ -99,12 +98,12 @@ do-install:
.endfor
@cd ${WRKSRC}/res/share && ${COPYTREE_SHARE} "icons lang themes" ${STAGEDIR}${DATADIR}/res/share
@cd ${WRKSRC} && ${INSTALL_DATA} altconf.txt ${STAGEDIR}${DATADIR}/res && \
${INSTALL_PROGRAM} pea ${STAGEDIR}${DATADIR}/res && \
${INSTALL_PROGRAM} peazip ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} dev/pea ${STAGEDIR}${DATADIR}/res && \
${INSTALL_PROGRAM} dev/peazip ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps
@cd ${WRKSRC}/res/share/batch/freedesktop_integration && \
${INSTALL_DATA} peazip.desktop ${STAGEDIR}${DESKTOPDIR} && \
${INSTALL_DATA} peazip.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/${PORTNAME}.png
${INSTALL_DATA} peazip*.desktop ${STAGEDIR}${DESKTOPDIR} && \
${INSTALL_DATA} peazip*.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
${INSTALL_SCRIPT} ${WRKDIR}/pea ${WRKDIR}/peazip ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1653777479
SHA256 (peazip-8.6.0.src.zip) = a0dd9e5fb45594904e3f2c45dd1077fe4e4ec426471483240ea5b1a8bccd2e1b
SIZE (peazip-8.6.0.src.zip) = 5832576
TIMESTAMP = 1661645690
SHA256 (peazip-8.8.0.src.zip) = 896e32f4c4366b72ce7650f6eabcfe15bd452f74642f12ae3dccf9cdc616be5b
SIZE (peazip-8.8.0.src.zip) = 5786225

View File

@ -1,7 +1,14 @@
bin/pea
bin/peazip
share/applications/peazip-add-to-archive.desktop
share/applications/peazip-extract-here.desktop
share/applications/peazip-extract-smart.desktop
share/applications/peazip-extract.desktop
share/applications/peazip-open.desktop
share/applications/peazip.desktop
share/icons/hicolor/256x256/apps/peazip.png
share/icons/hicolor/256x256/apps/peazip_add.png
share/icons/hicolor/256x256/apps/peazip_extract.png
%%DATADIR%%/peazip
%%DATADIR%%/res/altconf.txt
%%7Z%%%%DATADIR%%/res/bin/7z/7z
@ -71,10 +78,10 @@ share/icons/hicolor/256x256/apps/peazip.png
%%DATADIR%%/res/share/lang/uz.txt
%%DATADIR%%/res/share/lang/vn.txt
%%DATADIR%%/res/share/themes/different.theme.7z
%%DATADIR%%/res/share/themes/gray.theme.7z
%%DATADIR%%/res/share/themes/main-embedded/fm-theme.bmp
%%DATADIR%%/res/share/themes/main-embedded/readme.txt
%%DATADIR%%/res/share/themes/main.theme.7z
%%DATADIR%%/res/share/themes/nographic-embedded/fm-theme.bmp
%%DATADIR%%/res/share/themes/nographic-embedded/readme.txt
%%DATADIR%%/res/share/themes/ten.theme.7z
%%DATADIR%%/res/share/themes/tuxedo.theme.7z