New package: czkawka-5.1.0
This commit is contained in:
parent
0e8df48dc8
commit
b2025748ec
1 changed files with 32 additions and 0 deletions
32
srcpkgs/czkawka/template
Normal file
32
srcpkgs/czkawka/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'czkawka'
|
||||
pkgname=czkawka
|
||||
version=5.1.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=rust
|
||||
make_install_args="--path czkawka_gui"
|
||||
configure_args="--bin czkawka_gui --all-features"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libheif-devel gtk4-devel"
|
||||
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"
|
||||
distfiles="https://github.com/qarmin/czkawka/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=346c256ef215fa029a78c8150fcac1815e0c7f98319a167e18c5239e04849068
|
||||
|
||||
do_check() {
|
||||
dbus-run-session xvfb-run -s '-nolisten local' cargo test --bin czkawka_gui --release
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense 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.Devel.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
|
||||
}
|
Loading…
Add table
Reference in a new issue