From 9f84bccba90101225568285b110c622304be637c Mon Sep 17 00:00:00 2001 From: proledatarian Date: Mon, 12 Jun 2023 18:23:11 +0000 Subject: [PATCH] Added PKGBUILD. --- czkawka-gui-bin/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 czkawka-gui-bin/PKGBUILD diff --git a/czkawka-gui-bin/PKGBUILD b/czkawka-gui-bin/PKGBUILD new file mode 100644 index 0000000..4e4ea7f --- /dev/null +++ b/czkawka-gui-bin/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Dimitris Kiziridis +# Contributor: Arne BrĂ¼cher + +pkgname=czkawka-gui-bin +pkgver=6.0.0 +pkgrel=1 +pkgdesc="Multi functional app to find duplicates, empty folders, similar images etc (GUI)" +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_czkawka_gui" + "LICENSE::https://github.com/qarmin/czkawka/raw/master/LICENSE" + "czkawka-gui.png") + +sha256sums=('68c3d7295fdfc2f74ccaa25a85b8b643689adaae5aa600aed2f3282b568eae15' + 'fb89cb6b3ae375f493e6d52b6b28ca279f91446975e66cf0836c441f1cbca3fa' + '1614565bc6f143b4bb4fc80c71cb1fe0b2ba2719037046719d5a3a89c3f5905e') + +package() { + install -Dm755 ${pkgname}-${pkgver} "${pkgdir}/usr/bin/${pkgname%-bin}" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 ${pkgname%-bin}.png -t "${pkgdir}/usr/share/pixmaps" + 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" +}