blob: cd1527fcbd33f53c923a8603fcf173cc6be5f11b (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: SoftExpert <softexpert at gmail dot com>
# Maintainer: Jonas Geiler <aur@jonasgeiler.com>
pkgname=yaak-beta-bin
_betaver=16
pkgver=2025.2.0
pkgrel=0.${_betaver}
pkgdesc='Offline and Git friendly API client for HTTP, GraphQL, WebSockets, SSE, and gRPC (Pre-compiled version)'
arch=(x86_64)
url='https://yaak.app/'
license=(MIT)
depends=(
# As reported by namcap
cairo
gcc-libs
gdk-pixbuf2
glib2
glibc
gtk3
hicolor-icon-theme
libsoup3
pango
webkit2gtk-4.1
)
provides=(yaak yaak-app)
conflicts=(
yaak
yaak-bin
yaak-bin-beta
yaak-appimage
yaak-git
)
options=(
!strip # Stripping symbols would break the binary
!emptydirs # Remove empty directories from package because why not
)
source_x86_64=(
"${pkgname}-${pkgver}-beta.${_betaver}.deb::https://github.com/mountain-loop/yaak/releases/download/v${pkgver}-beta.${_betaver}/yaak_${pkgver}-beta.${_betaver}_amd64.deb"
"${pkgname}-${pkgver}.LICENSE::https://raw.githubusercontent.com/mountain-loop/yaak/refs/tags/v${pkgver}-beta.${_betaver}/LICENSE"
)
b2sums_x86_64=('540196185e246579a1c6f94cf7bb7db1d4f6beefca5b71c7b064dc8cf694674a247192f4bc57e2c9c69f9f6534f0f0a49ee7dabfc3a0d7c9a9362fcde710ffc9'
'011fb406bfe4a8944efbae1f9cfa420fe421f1de3ae628802548676a1fe1318850a5f98c60cd29899efe3946dec329b6607f04917e966808f62f9e4ecaaea13b')
prepare() {
bsdtar -xf "${srcdir}/data.tar.gz" -C "${srcdir}/"
}
build() {
sed -e 's|Name=yaak|Name=Yaak-beta|' \
-e '$aGenericName=API Client' \
-i "${srcdir}/usr/share/applications/yaak.desktop"
}
package() {
cp -a \
"${srcdir}/usr/" \
"${pkgdir}/usr/"
install -Dm644 \
"${srcdir}/${pkgname}-${pkgver}.LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|