32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'czkawka'
|
|
pkgname=czkawka
|
|
version=7.0.0
|
|
revision=1
|
|
build_style=cargo
|
|
configure_args="--bin czkawka_cli --bin czkawka_gui --all-features"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libheif-devel gtk4-devel libraw-devel"
|
|
depends="ffmpeg"
|
|
checkdepends="dbus xvfb-run"
|
|
short_desc="App to find duplicates, empty folders, similar images, etc"
|
|
maintainer="sirkhancision <jsantiago12tone@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/qarmin/czkawka"
|
|
changelog="https://raw.githubusercontent.com/qarmin/czkawka/master/Changelog.md"
|
|
distfiles="https://github.com/qarmin/czkawka/archive/refs/tags/${version}.tar.gz"
|
|
checksum=ce7d072056dedc4f2ca4d3647dc786ba071d4f3c58e79415da18d7dafd62e87b
|
|
make_check_pre="dbus-run-session xvfb-run"
|
|
|
|
do_install() {
|
|
vbin target/${RUST_TARGET}/release/czkawka_cli
|
|
vbin target/${RUST_TARGET}/release/czkawka_gui
|
|
|
|
vlicense czkawka_gui/LICENSE
|
|
|
|
CZKAWKA_NAME="com.github.qarmin.czkawka"
|
|
vinstall data/${CZKAWKA_NAME}.desktop 644 usr/share/applications
|
|
vinstall data/icons/${CZKAWKA_NAME}.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
vinstall data/icons/${CZKAWKA_NAME}-symbolic.svg 644 usr/share/icons/hicolor/symbolic/apps
|
|
vinstall data/${CZKAWKA_NAME}.metainfo.xml 644 usr/share/metainfo
|
|
}
|