# Maintainer: flan_suse # Contributor: Arne BrĂ¼cher # Contributor: Dimitris Kiziridis # This prebuilt binary includes HEIF support. pkgname=czkawka-gui-bin pkgver=7.0.0 pkgrel=3 pkgdesc='Find and manage duplicate files, empty folders, similar images, and other "lint" (GUI, with HEIF support)' arch=('x86_64') url='https://github.com/qarmin/czkawka' license=('MIT') provides=('czkawka-gui') conflicts=('czkawka-gui') depends=('gtk4') makedepends=('gendesk') source=("${pkgname}-${pkgver}::https://github.com/qarmin/czkawka/releases/download/${pkgver}/linux_${pkgname%-gui-bin}_gui_libraw_heif" "LICENSE-${pkgver}::https://github.com/qarmin/czkawka/raw/${pkgver}/${pkgname%-gui-bin}_gui/LICENSE" "${pkgname}-${pkgver}.png::https://raw.githubusercontent.com/qarmin/czkawka/${pkgver}/${pkgname%-gui-bin}_gui/icons/icon_about.png") sha256sums=('184f049d040d93a9b16a96c2e6c53a1b17e8590c5dc03a7f6bdb36d3b75f09fb' 'de1d794af7529bc9abb6a1aef6ec2af21fa2bfa4284742144bc30246005b4212' 'c727bb66ebf6114296a93384af8c2eaeb19eab06482cdd3176155f8f8eef501f') package() { install -Dm755 ${pkgname}-${pkgver} "${pkgdir}/usr/bin/${pkgname%-bin}" install -Dm644 LICENSE-${pkgver} "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" install -Dm644 ${pkgname}-${pkgver}.png "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.png" gendesk -f -n --pkgname "${pkgname%-bin}" \ --pkgdesc "$pkgdesc" \ --name "Czkawka" \ --comment "$pkgdesc" \ --exec "${pkgname%-bin}" \ --categories 'Utility;Application' \ --icon "${pkgname%-bin}" install -Dm644 "${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" }