Package Details: peazip-gtk2-bin 9.7.1-1

Git Clone URL: https://aur.archlinux.org/peazip-gtk2-bin.git (read-only, click to copy)
Package Base: peazip-gtk2-bin
Description: PeaZip file manager and archiver (GTK 2)
Upstream URL: https://peazip.github.io
Keywords: 7z archiver brotli compression encryption extractor paq peazip rar zip zpaq zstandard
Licenses: LGPL-3.0-or-later
Conflicts: peazip-qt-bin, peazip-qt5, peazip-qt5-bin
Provides: peazip
Submitter: ragouel
Maintainer: Yvaniak
Last Packager: Yvaniak
Votes: 71
Popularity: 0.26
First Submitted: 2020-05-24 13:20 (UTC)
Last Updated: 2024-02-15 00:35 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

jcomellas commented on 2023-09-18 15:50 (UTC)

With these changes to the PKGBUILD file you can use the latest version:

iff --git a/PKGBUILD b/PKGBUILD
index bbfc6fc..2b8687c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 # Contributor: TuxSpirit <tuxspirit@archlinux.fr>

 pkgname=peazip-gtk2-bin
-pkgver=9.1.0
+pkgver=9.4.0
 pkgrel=1
 pkgdesc='PeaZip file manager and archiver (GTK 2)'
 arch=('x86_64')
@@ -24,7 +24,7 @@ optdepends=('p7zip: Command-line file archiver with high compression ratio'
 provides=('peazip')
 conflicts=('peazip-qt-bin' 'peazip-qt5' 'peazip-qt5-bin')
 source=("https://github.com/peazip/PeaZip/releases/download/${pkgver}/peazip-${pkgver}.LINUX.GTK2-1.${CARCH}.rpm")
-sha256sums=('050b8eb18c244d6c7d991f0bb25692a43f485cbf60f08d9968de1321920d40aa')
+sha256sums=('e0d1fdec16cc70baef376eb917d30c3737c0faa1b1cd994aa03c73e5e2712b20')
 changelog=changelog.txt

 prepare() {
@@ -40,9 +40,8 @@ prepare() {
   local sharedUsr=usr/share
   local sharedPeaZip="${sharedUsr}/peazip"
   # Windows related stuff
-  rm "${sharedPeaZip}/batch/"*.bat
-  rm -r "${sharedPeaZip}/batch/SendTo"
-  rm -r "${sharedPeaZip}/batch/Windows 11 mini context menu"
+  rm -r "${sharedPeaZip}/batch/bat"
+  rm -r "${sharedPeaZip}/batch/Windows"
   rm "${sharedPeaZip}/readme/readme_Windows.txt"
   # macOS related stuff
   rm -r "${sharedPeaZip}/batch/macOS service menus"

anagram3k commented on 2023-07-11 23:54 (UTC)

I have updated the PKGBUILD to the latest version: https://gist.github.com/anagram3k/f72109e4c965030682fe8ee06c543b6c

I only changed the pkgver and sha256sums and it worked. If you want, just give me access and I will make the changes, updating the SCRINFO and changelog.

Thanks!

ed_o commented on 2021-11-21 14:03 (UTC)

@vsvyatski Thank you very much!

vsvyatski commented on 2021-11-20 23:21 (UTC)

Should be OK now. Senior Giorgio Tani has changed the layout of directories again.

@ed_o: The package is fixed, I've added you back as a co-maintainer, in case you wish to do any further corrections.

Barracuda commented on 2021-11-16 12:27 (UTC)

I have exactly the same error as @prometheus, install fails.

prometheus commented on 2021-11-14 21:52 (UTC) (edited on 2021-11-19 10:14 (UTC) by prometheus)

Install fails.

Looks like there is an issue with the cp command:

==> Validating source files with sha256sums...
    peazip-gtk2-bin-8.3.0.rpm ... Passed
==> Making package: peazip-gtk2-bin 8.3.0-3 (Monday 15 November 2021 03:19:28 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found peazip-gtk2-bin-8.3.0.rpm
==> Validating source files with sha256sums...
    peazip-gtk2-bin-8.3.0.rpm ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting peazip-gtk2-bin-8.3.0.rpm with bsdtar
==> Sources are ready.
==> Making package: peazip-gtk2-bin 8.3.0-3 (Monday 15 November 2021 03:19:34 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'opt/': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: peazip-gtk2-bin

ed_o commented on 2021-11-14 16:44 (UTC)

@vsvyatski sorry to ask for your help again, but the installation is once more broken. Could you tip me off on how I could fix it this time? Thanks in advance

ed_o commented on 2021-09-14 22:01 (UTC)

@vsvyatski
Thank you very much for pointing that out, and providing a simple fix!
I was pretty overwhelmed with work, and you gave me some great help

vsvyatski commented on 2021-09-14 19:32 (UTC) (edited on 2021-09-18 10:35 (UTC) by vsvyatski)

The problem with 8.2.0 is that the authors of PeaZip changed the structure of the RPM package, which is used as a source: /usr/share/PeaZip is completely gone, it's now /opt/peazip. Also, the FreeDesktop_integration folder has been moved to /opt/peazip/res/batch/. So, to install the package as the application creators intend, during the installation click the button "Edit PKGBUILD" (the installation via GUI is assumed) and change the code of the package() function to the following (much simplier than the original):

package() {
  cp -aR usr/ "${pkgdir}/"
  cp -aR opt/ "${pkgdir}/"
  rm -rf "${pkgdir}/usr/lib"
}

It helped me, hopefully it'll help you too. Tested on Manjaro 21.1.2 Pahvo (which is Arch-based).

@ed_o Mr.Tani will most likely not fix the package, because the folder structure change is mentioned among changes in the version 8.2 on GitHub:

PeaZip 8.2.0 is focused on improving use from command line and scripts, and introduces (peazip)/res/batch folder which contains sample scripts and system integration files both for Linux and Windoes (SendTo and freedesktop_integration folders are moved here). The archive manager is now capable of optionally displaying compression/encryption method, and modified, created, accessed timestamps for each item in archive, and to display number of items contained in each folder. It is now possible to chose to keep extracted files even in case errors occurred during the extraction, and working with spanned files was improved. Smart extraction is now available as default action to take at program's startup, alongside Open, Open as archive, Extract (full), Extract here. This release also improves user experience on Linux systems improving the automatic configuration of applications for "open with" actions, and displaying more system's paths in the file manager. DEB and RPM installers are extensively updated, with application now being installed in /opt/peazip. Backend were updated to Brotli 1.0.9 (Linux). A total of 225 file extensions can now be managed by PeaZip, with addition of .apkm, .apks, and .aab Android package formats, and of Lzip .lz (supported on Linux versions only).

Tio commented on 2021-09-12 23:53 (UTC)

I get this error while trying to upgrade:

mv: cannot stat '/var/tmp/pamac-build-tio/peazip-gtk2-bin/pkg/peazip-gtk2-bin/usr/share/PeaZip': No such file or directory