1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="A graphical directory tree analyzer"
8 url="https://wiki.gnome.org/Apps/DiskUsageAnalyzer"
11 depends=(dconf gtk4 gsettings-desktop-schemas librsvg libadwaita)
12 makedepends=(vala gobject-introspection yelp-tools appstream-glib git meson)
15 _commit=bffc1c040ee75e0cb0675d0bc1a59619ff57366c # tags/42.0^0
16 source=("git+https://gitlab.gnome.org/GNOME/baobab.git#commit=$_commit"
19 '958a85fe3a2001d16ebcf71b51888f260508af87224a0de3410a6bbe685e59d0')
23 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
29 # https://bugs.archlinux.org/task/31861
30 git apply -3 ../no-mimetype.diff
34 arch-meson baobab build
35 meson compile -C build
39 meson test -C build --print-errorlogs
43 meson install -C build --destdir "$pkgdir"