blob: 49417f9279b87796b704334abe2a96097e49e154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: flan_suse <windows2linux_AT_zoho_DOT_com>
# Contributor: Arne BrĂ¼cher <archlinux [at] arne-bruecher [dot] de>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
# This prebuilt binary includes HEIF support.
pkgname=czkawka-gui-bin
pkgver=8.0.0
pkgrel=2
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' 'libheif')
makedepends=('gendesk')
source=("${pkgname}-${pkgver}::https://github.com/qarmin/czkawka/releases/download/${pkgver}/linux_${pkgname%-gui-bin}_gui_heif_libraw"
"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=('8d90a81d1e5aa9c16695c580e3ec822c9c104c402c112924f14480f8de52cd36'
'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"
}
|