blob: fb28336b68eb391d1ee318509ea791d2156146c9 (
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
|
# Maintainer: Vianney Bouchaud <aur dot vianney at bouchaud dot org>
pkgname=bruno-bin
_pkgname=bruno
pkgdesc="Opensource API Client for Exploring and Testing APIs"
pkgver=0.27.0
pkgrel=3
arch=('x86_64')
url="https://www.usebruno.com/"
license=('MIT')
provides=('bruno')
conflicts=('bruno')
depends=(
'c-ares'
'gtk3'
'libevent'
'nss'
'wayland'
'alsa-lib'
)
# _latest function is used in a script that will auto update this PKGBUILD.
_latest() {
curl -s https://api.github.com/repos/usebruno/bruno/releases | jq -r '.[0].tag_name'
}
source=(
"https://github.com/usebruno/bruno/releases/download/v${pkgver}/bruno_${pkgver}_amd64_linux.deb"
"LICENSE-$pkgver::https://raw.githubusercontent.com/usebruno/bruno/v${pkgver}/license.md"
)
package() {
cd $pkgdir
tar -vxf $srcdir/data.tar.xz
mkdir -p usr/bin
ln -sf /opt/Bruno/bruno usr/bin/bruno
install -D -m0644 "$srcdir/LICENSE-$pkgver" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
sha256sums=(
e7b09ba7ffb7acdabf6e1508b4fb8de9922349df08ce626c9fd14d9bcf648621
8891070a847e5047bf77d38d88d7dfbab1beab41e37c802b9f5b23f2bbb9c7be
)
|