Package Details: kondo-git latest-3

Git Clone URL: https://aur.archlinux.org/kondo-git.git (read-only, click to copy)
Package Base: kondo-git
Description: Save disk space by cleaning non-essential files from software projects.
Upstream URL: https://github.com/tbillington/kondo
Licenses: MIT
Conflicts: kondo
Provides: kondo
Submitter: MithicSpirit
Maintainer: MithicSpirit
Last Packager: MithicSpirit
Votes: 2
Popularity: 0.000000
First Submitted: 2023-01-04 20:54 (UTC)
Last Updated: 2024-03-10 03:23 (UTC)

Required by (0)

Sources (1)

Latest Comments

mrdwarf commented on 2026-01-31 05:24 (UTC)

If you're getting build failures because of the kondo-ui-git package as well, see my related comment on that AUR listing ( here )

tl;dr: Need to add $srcdir/ to the start of the install command's path at the bottom (in last function call).

mrdwarf commented on 2026-01-31 05:20 (UTC)

I had some issues trying to build this today. Had to trouble shoot and found your missing a directive.

For those that need to apply it - In yay/paru dir where the PKGBUILD is, create file "fix.patch", copy contents into it. Run git apply fix.patch Run makepkg -si

Patch below:

diff --git c/PKGBUILD i/PKGBUILD
index bbe308a..aaa7ba0 100644
--- c/PKGBUILD
+++ i/PKGBUILD
@@ -24,16 +24,25 @@ prepare() {
 }

 pkgver() {
-   cd "$srcdir/$_pkgname"
-   git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g'
+  cd "$srcdir/$_pkgname"
+  git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g'
+}
+
+_build_base() {
+  cd "$_pkgname"
+  cargo build --frozen --release --all-features
+
+}
+
+_build_ui() {
+  cd "$_pkgname-ui"
+  cargo build --frozen --release --all-features
 }

 build() {
-   cd "$srcdir/$_pkgname"
-   cargo build --frozen --release --all-features
-   
-   cd "$_pkgname-ui"
-   cargo build --frozen --release --all-features
+  cd "$srcdir"
+  _build_base
+  _build_ui
 }

 package_kondo-git() {
@@ -51,9 +60,8 @@ package_kondo-ui-git() {
    conflicts=("$_pkgname-ui")
    depends+=('gtk3')

-   cd "$srcdir/$_pkgname"
-   install -vDm755 -t "$pkgdir/usr/bin" \
-       "$_pkgname-ui/target/release/$_pkgname-ui"
-   install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-   install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  install -vDm755 -t "$pkgdir/usr/bin" \
+    "$srcdir/$_pkgname/target/release/$_pkgname-ui"
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }