blob: 75b5b2e2a5c09ee197e38ca26be1ac5793d54fe4 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=minimon-applet-for-cosmic
pkgver=0.3.5
pkgrel=1
pkgdesc="A System Monitor applet for COSMIC"
arch=('x86_64' 'aarch64')
url="https://github.com/Hyperchaotic/minimon-applet"
license=('GPL-3.0-or-later')
depends=(
'cosmic-applets'
'fontconfig'
)
makedepends=(
'cargo'
'just'
)
source=("minimon-applet-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('c5a8c42d3a07cad673bd2201a5cc862ae5d0172f3bd2f1fe9ba091e957b20609')
prepare() {
cd "minimon-applet-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "minimon-applet-$pkgver"
export RUSTUP_TOOLCHAIN=stable
just build-release --frozen
}
package() {
cd "minimon-applet-$pkgver"
just rootdir="$pkgdir" install
}
|