summaryrefslogtreecommitdiff
path: root/charles-bin/PKGBUILD
blob: 07fcbd8423987814efc9e980390dc4a5c5199e2f (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Nico <d3sox at protonmail dot com>
pkgname=charles-bin
pkgver=4.6.4
pkgrel=4
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'
  'libfontconfig.so=1'
  'libfreetype.so=6'
  'libx11=1.8.7'
  'libxext=1.3.5'
  'libxi=1.8.1'
  'libxrender=0.9.11'
  'libz.so=1'
)
depends=('hicolor-icon-theme' "${_pinned_dependencies[@]}")
source=(https://www.charlesproxy.com/packages/apt/pool/main/c/charles-proxy/charles-proxy_${pkgver}_amd64.deb)
sha512sums=('1c340677c2d7fd8dfcd0e1585b1bb3107f36a8bf79061cb253bf07006d2aae1b1f7b7acd06e08723367675aa33becc65ebbd1daf1c8f1749f3800ba89c9ff175')

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