# Maintainer: mahziyarng98 <289230375+mahziyarng98@users.noreply.github.com> # # Binary package built from the .deb attached to the GitHub release. # Before publishing a release to the AUR: # 1. set pkgver to the released version, # 2. set sha256sums to the value for the .deb from the release's SHA256SUMS, # 3. regenerate .SRCINFO: makepkg --printsrcinfo > .SRCINFO pkgname=cawget-bin pkgver=0.1.1 pkgrel=1 pkgdesc='Fast segmented download manager for Linux (desktop app)' arch=('x86_64') url='https://github.com/mahziyarng98/cawget' license=('GPL-3.0-or-later') depends=('webkit2gtk-4.1' 'gtk3' 'glib2' 'cairo' 'gdk-pixbuf2' 'libsoup3' 'dbus' 'hicolor-icon-theme') optdepends=('libayatana-appindicator: system tray icon') provides=('cawget') conflicts=('cawget') options=('!strip' '!debug') source=("cawget-${pkgver}.deb::${url}/releases/download/v${pkgver}/Cawget_${pkgver}_amd64.deb") sha256sums=('a807a9959a402e7e4e915a4aeaa2d68228575242ac56fcb9c7aa0c58cd59624f') package() { bsdtar -xf data.tar.* -C "${pkgdir}" install -Dm644 "${pkgdir}/usr/share/doc/cawget/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${pkgdir}/usr/share/doc/cawget/THIRD_PARTY_LICENSES.md" \ "${pkgdir}/usr/share/licenses/${pkgname}/THIRD_PARTY_LICENSES.md" }