blob: ec4408684043a03f2a063455c9614b12a57c9a23 (
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: Nick Dowsett <nickd42 AT gmail DOT com>
pkgname=cosmic-applet-arch
pkgver=1.0.2
pkgrel=1
pkgdesc='COSMIC applet to display Arch Linux package status'
arch=(x86_64)
url=https://github.com/nick42d/cosmic-applet-arch
license=(GPL-3.0-only)
depends=(
cosmic-icon-theme
git
pacman-contrib
openssl
libxkbcommon
)
makedepends=(
pkgconf
cargo
git
just
lld
)
source=(git+https://github.com/nick42d/cosmic-applet-arch.git#tag=${pkgname}/v${pkgver})
b2sums=('09e6df0d55af707274b970f0965945538e6304b9448924b1dba6c246d162f3c3f576780ad7beb699b6d5aa03ad940da20a7f31f0c560ed74d9239a2a63b809bb')
prepare() {
cd cosmic-applet-arch
cargo fetch --locked
sed 's/lto = "fat"/lto = "thin"/' -i Cargo.toml
}
build() {
cd cosmic-applet-arch
RUSTFLAGS+=" -C link-arg=-fuse-ld=lld"
just build-release --frozen
}
package() {
cd cosmic-applet-arch
just rootdir="${pkgdir}" install
}
|