# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Nico <d3sox at protonmail dot com>
pkgname=charles-bin
pkgver=4.6.2
pkgrel=2
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.12'
)
depends=('hicolor-icon-theme' "${_pinned_dependencies[@]}")
source=(https://www.charlesproxy.com/packages/apt/pool/main/c/charles-proxy/charles-proxy_${pkgver}_amd64.deb)
sha256sums=('49c31f74d2d1e42eb6603797720db82e901bf555ee670ee4887dafb5fc164215')

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