blob: 7a9ee817116cfc2c489c9f1a2de5e2c55afba4be (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=quick-webapps
pkgver=2.0.1
pkgrel=1
pkgdesc="Web App Manager for the COSMICâ„¢ desktop written with love and libcosmic."
arch=('x86_64' 'aarch64')
url="https://github.com/cosmic-utils/web-apps"
license=('GPL-3.0-or-later')
depends=(
'gcc-libs'
'gtk3'
'hicolor-icon-theme'
'libsoup3'
'libxkbcommon'
'openssl'
'webkit2gtk-4.1'
)
makedepends=(
'cargo'
'git'
'just'
)
conflicts=('cosmic-wam' 'cosmic-webapps')
source=("git+https://github.com/cosmic-utils/web-apps.git#tag=$pkgver")
sha256sums=('14c0faf75c34a077a25e43901022daf6e79396112d7b9ee21c6977a3a0bb5974')
prepare() {
cd web-apps
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd web-apps
export RUSTUP_TOOLCHAIN=stable
just build-release
}
package() {
cd web-apps
just rootdir="$pkgdir" prefix='/usr' install
}
|