blob: 44d9784a1e136f442bf74c85cd988f2909d38aac (
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
|
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=charles-beta-bin
pkgver='5.0b16'
pkgrel=1
pkgdesc="Web debugging proxy application (Version 5 Beta)"
arch=('x86_64')
url="https://www.charlesproxy.com"
license=('custom')
makedepends=('tar' 'zstd')
conflicts=('charles')
provides=('charles')
depends=('hicolor-icon-theme' 'java-runtime=17')
source=(https://www.charlesproxy.com/packages/apt/pool/main/c/charles-proxy-beta/charles-proxy-beta_${pkgver}_amd64.deb)
sha256sums=('d84574d12702bef0f9963952fbf5a2c7076b38d938ea2f44fb6a74ef0be609f2')
package() {
cd "${pkgdir}"
# this extracts all into the pkgdir
tar xf "${srcdir}/data.tar.zst"
# included jdk does not work
# Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/charles-proxy/jdk/lib/libfontmanager.so: /usr/lib/charles-proxy/jdk/lib/libfontmanager.so: undefined symbol: FcPatternDestroy
rm -rf usr/lib/charles-proxy/jdk
# stop ^- from appearing in home directory
sed -i 's/\^-/\/dev\/null/' "${pkgdir}/usr/bin/charles5"
}
|