blob: 842bc544bcfb0251ac068ee185b6680b44227a86 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=distroshelf
pkgver=1.4.8
pkgrel=1
pkgdesc="A GUI for Distrobox Containers"
arch=('x86_64' 'aarch64')
url="https://github.com/ranfdev/DistroShelf"
license=('GPL-3.0-or-later')
depends=(
'distrobox'
'gtk4'
'libadwaita'
'vte4'
'which'
)
makedepends=(
'cargo'
'meson'
)
source=("DistroShelf-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('f2f430d6924a69a21d6476e26649eddf4d074e5cf7fd43cd0dee2bb89f303ee8')
prepare() {
cd "DistroShelf-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$(rustc --print host-tuple)"
}
build() {
export RUSTUP_TOOLCHAIN=stable
arch-meson "DistroShelf-$pkgver" build
meson compile -C build
}
check() {
meson test -C build --no-rebuild --print-errorlogs
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|