blob: 7f7ee70b5f9b36706b617e6ef366bdb6342f2e0b (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=key-rack
pkgver=0.3.0
pkgrel=1
pkgdesc="View and edit keys stored by apps."
arch=('x86_64')
url="https://gitlab.gnome.org/sophie-h/key-rack"
license=('GPL')
depends=('libadwaita')
makedepends=('cargo' 'git' 'meson')
checkdepends=('appstream-glib')
_commit=0fdfa4587262408f6f20eebc2c47bcadfeaa665c # 0.3.0
source=("git+https://gitlab.gnome.org/sophie-h/key-rack.git#commit=${_commit}")
sha256sums=('SKIP')
#pkgver() {
# cd "$pkgname"
# git describe --tags | sed 's/-/+/g'
#}
prepare() {
cd "$pkgname"
export CARGO_HOME="$srcdir/cargo-home"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "$pkgname"
export CARGO_HOME="$srcdir/cargo-home"
export RUSTUP_TOOLCHAIN=stable
arch-meson . build
meson compile -C build
}
package() {
cd "$pkgname"
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|