# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Nico <d3sox at protonmail dot com>
pkgname=charles-bin
pkgver=4.6.3
pkgrel=1
pkgdesc="Web debugging proxy application (Built using the deb package)"
arch=('x86_64')
url="https://www.charlesproxy.com"
license=('custom')
makedepends=('tar' 'xz')
conflicts=('charles')
provides=('charles')
_pinned_dependencies=(
  'glibc>=2.33'
  'zlib=1:1.2.13'
)
depends=('hicolor-icon-theme' "${_pinned_dependencies[@]}")
source=(https://www.charlesproxy.com/packages/apt/pool/main/c/charles-proxy/charles-proxy_${pkgver}_amd64.deb)
sha512sums=('24388a2bc62e60e03bba79423ce4edff47033c34cacc99a6b6823fc13587846d93bd022caf66deb422c9c6ee0e6932b78c7b341731aadd27dceb0374696f93c9')

package() {
    cd "${pkgdir}"
    # this extracts all into the pkgdir
    tar xf "${srcdir}/data.tar.xz"
}