I see warnings: Package contains reference to $srcdir
Search Criteria
Package Details: czkawka-gui 9.0.0-0.1
Package Actions
Git Clone URL: | https://aur.archlinux.org/czkawka.git (read-only, click to copy) |
---|---|
Package Base: | czkawka |
Description: | Multi functional app to find duplicates, empty folders, similar images etc. (Desktop App) |
Upstream URL: | https://github.com/qarmin/czkawka |
Licenses: | LicenseRef-MIT AND CC-BY-4.0 |
Submitter: | fabiscafe |
Maintainer: | fabiscafe |
Last Packager: | fabiscafe |
Votes: | 38 |
Popularity: | 1.09 |
First Submitted: | 2021-08-09 09:49 (UTC) |
Last Updated: | 2025-03-16 16:30 (UTC) |
Dependencies (20)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- gtk4 (gtk4-paper-planeAUR, gtk4-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR)
- pango (pango-gitAUR)
- cairo (cairo-gitAUR) (make)
- cargo (rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup-gitAUR, rust, rustup) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gtk4 (gtk4-paper-planeAUR, gtk4-gitAUR) (make)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR) (make)
- pango (pango-gitAUR) (make)
- rust (rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup-gitAUR, rustup) (make)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR, xlibre-server-xvfb-gitAUR) (check)
Required by (0)
Sources (1)
barraponto commented on 2023-10-20 12:04 (UTC)
flan_suse commented on 2023-06-25 15:43 (UTC)
@fabiscafe True. Maybe it's the lack of coffee.
pacman -Syyu coffee-with-extra-caffeine
:)
fabiscafe commented on 2023-06-24 18:00 (UTC)
@flan_suse In my opinion the conflicts should only be aded to the non-stable non-source packages (-git, -bin, …).
For the provides - I don't see any benefit to have this added. :s
flan_suse commented on 2023-06-24 15:39 (UTC) (edited on 2023-06-24 15:43 (UTC) by flan_suse)
I think the following should be added to this PKGBUILD to avoid collision:
conflicts=('czkawka-gui-bin','czkawka-cli-bin')
provides=('czkawka')
fabiscafe commented on 2023-06-12 08:19 (UTC)
@exploder-jimmy Thanks I added the change. 👍👍
the pkgrel "0.x" however is not a bug, but my "new" naming scheme. So packages that might get imported to Arch at some point can be upgraded gracefully, instead of a manual downgrade.
exploder-jimmy commented on 2023-06-11 22:10 (UTC) (edited on 2023-06-11 22:12 (UTC) by exploder-jimmy)
Also please consider this patch.
With export CARGO_HOME="${srcdir}/cargo"
, cargo won't create anything unnecessary in user $HOME dir during build.
Thanks.
diff --git a/PKGBUILD b/PKGBUILD
index f334c58..4c6f8c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(
czkawka-gui
)
pkgver=6.0.0
-pkgrel=0.1
+pkgrel=2
pkgdesc='Multi functional app to find duplicates, empty folders, similar images etc.'
url='https://github.com/qarmin/czkawka'
arch=(
@@ -37,12 +37,14 @@ pkgver() {
build() {
cd ${pkgbase}
+ export CARGO_HOME="${srcdir}/cargo"
cargo build --bin czkawka_cli --release --features heif
cargo build --bin czkawka_gui --release --features heif
}
check() {
cd ${pkgbase}
+ export CARGO_HOME="${srcdir}/cargo"
cargo test --bin czkawka_cli --release
dbus-run-session xvfb-run -s '-nolisten local' \
cargo test --bin czkawka_gui --release
exploder-jimmy commented on 2023-06-11 22:07 (UTC)
Please fix line 9 pkgrel=0.1
=> pkgrel=1
fabiscafe commented on 2023-06-11 14:41 (UTC) (edited on 2025-06-12 13:57 (UTC) by fabiscafe)
Key Import
This PKGBUILD uses signed commits. If not done you need to import GitHubs (web-flow) public pgp key.
curl -sS https://github.com/web-flow.gpg | gpg --import -
Build Instructions
$ curl -sS https://github.com/web-flow.gpg | gpg --import -
# pacman -S git devtools --needed
$ git clone https://aur.archlinux.org/czkawka.git
$ cd czkawka
$ pkgctl build .
Packaging Bugtracker
fabiscafe commented on 2023-04-11 07:24 (UTC)
@Raansu Thanks. I updated the arch to include ALARM and AL32. For the other change, thats not on my part. The -bin and -git PKGBUILDS need to specify a provides and conflicts array. The "non"-git/-bin PKGBUILD is the base provider.
Pinned Comments
fabiscafe commented on 2023-06-11 14:41 (UTC) (edited on 2025-06-12 13:57 (UTC) by fabiscafe)
Key Import
This PKGBUILD uses signed commits. If not done you need to import GitHubs (web-flow) public pgp key.
Build Instructions
Packaging Bugtracker
https://gitlab.archlinux.org/fabiscafe/czkawka_aur