summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95edf89ee69d3e52dee00067c055693349e1f4cb (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
# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>

pkgname=pods-git
pkgver=r2082.0f8a23a
pkgrel=1
pkgdesc='A Podman desktop application'
arch=(x86_64)
url=https://github.com/marhkb/pods
license=(GPL3)
depends=(gtk4 libadwaita podman gtksourceview5 libpanel-git vte4)
makedepends=(git meson rust)
checkdepends=(appstream-glib)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url.git")
md5sums=(SKIP)

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	arch-meson "${pkgname%-git}" build
	meson compile -C build
}

check() {
	meson test -C build
}

package() {
	meson install -C build --destdir "$pkgdir"
}