diff options
author | Tim Biermann <tbier@posteo.de> | 2021-11-22 10:41:53 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-11-22 10:41:53 +0100 |
commit | 8b7f9b07402f8bd29391b69f91ea3eb11ac8b4d0 (patch) | |
tree | 61cfc0247f138c1ee9c77663d9b46da7478eb404 /czkawka | |
parent | 8688eec435f0e642afe47f11e2fd27840cf057a1 (diff) | |
download | contrib-8b7f9b07402f8bd29391b69f91ea3eb11ac8b4d0.tar.gz contrib-8b7f9b07402f8bd29391b69f91ea3eb11ac8b4d0.tar.xz |
czkawka: initial commit, version 3.3.0
Diffstat (limited to 'czkawka')
-rw-r--r-- | czkawka/.footprint | 3 | ||||
-rw-r--r-- | czkawka/.signature | 5 | ||||
-rw-r--r-- | czkawka/Pkgfile | 25 |
3 files changed, 33 insertions, 0 deletions
diff --git a/czkawka/.footprint b/czkawka/.footprint new file mode 100644 index 000000000..d2596ddec --- /dev/null +++ b/czkawka/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/czkawka_cli diff --git a/czkawka/.signature b/czkawka/.signature new file mode 100644 index 000000000..c6a2b15c4 --- /dev/null +++ b/czkawka/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF30/uHrdE1xyDdFQyqM3xN2T7Ry2TXj38SjvtPS+hQ6rtHq/DzEWI1X9ZtDmHaunZ9CcqUyI9lP/rl6xBVyarnQ4= +SHA256 (Pkgfile) = 82c585ecb1f72696b4c7dba390d7e4398f95078bf1350f2fd146235a9adb94f9 +SHA256 (.footprint) = fa6683f786d53a26ba307bdfc2a549abd515a3baac6afd9a4cf5ec148a196bef +SHA256 (czkawka-3.3.0.tar.gz) = aad710140fd08bc3ecc1fee8c03a5531a5022ef2f694ffd8f4e0385d74a4213c diff --git a/czkawka/Pkgfile b/czkawka/Pkgfile new file mode 100644 index 000000000..be0262172 --- /dev/null +++ b/czkawka/Pkgfile @@ -0,0 +1,25 @@ +# Description: Multi functional app to find duplicates, empty folders, similar images etc +# URL: https://github.com/qarmin/czkawka +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust +# Optional: gtk3 + +name=czkawka +version=3.3.0 +release=1 +source=(https://github.com/qarmin/czkawka/archive/$version/$name-$version.tar.gz) + +build() { + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo update --manifest-path $name-$version/Cargo.toml + cargo build --bin czkawka_cli --release --locked --manifest-path $name-$version/Cargo.toml + prt-get isinst gtk3 && cargo build --bin czkawka_gui --release --locked --manifest-path $name-$version/Cargo.toml + + install -Dt $PKG/usr/bin $name-$version/target/release/${name}_cli + prt-get isinst gtk3 && install -Dt $PKG/usr/bin $name-$version/target/release/${name}_gui + prt-get isinst gtk3 && install -Dm644 $SRC/czkawka-$version/pkgs/com.github.qarmin.czkawka.desktop \ + $PKG/usr/share/applications/com.github.qarmin.czkawka.desktop || true +} |